C89_BUILD fix

This commit is contained in:
twinaphex 2019-12-24 16:53:13 +01:00
parent 1165f8dfe9
commit 8d63faa74d

View File

@ -33,10 +33,12 @@
#endif
#define sanitize_to_string(s, label, len) \
char *pos = NULL; \
strlcpy(s, label, len); \
while((pos = strchr(s, '_'))) \
*pos = ' '
{ \
char *pos = NULL; \
strlcpy(s, label, len); \
while((pos = strchr(s, '_'))) \
*pos = ' '; \
}
static int action_get_title_action_generic(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)