From f9c434401b352b93ea9df920a3b205b91ab9df94 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 26 Dec 2020 09:00:39 +0100 Subject: [PATCH] Fix M_GET_STRING_ARG (See #84) --- m-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index 14bb0bbe..6ca6afe2 100644 --- a/m-core.h +++ b/m-core.h @@ -1835,7 +1835,7 @@ M_FSCAN_DEFAULT_TYPE_DEF(m_core_fscan_ldouble, long double, "%Lf") #endif /* Transform a C variable into a string_t (needs m-string.h) */ -#define M_GET_STRING_ARG(string, x, append) \ +#define M_GET_STRING_ARG(str, x, append) \ (append ? string_cat_printf : string_printf) (str, M_PRINTF_FORMAT(x), x) /* No use of GET_STR if no inclusion of m-string */