mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
C89_BUILD fix
This commit is contained in:
parent
1165f8dfe9
commit
8d63faa74d
@ -33,10 +33,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define sanitize_to_string(s, label, len) \
|
#define sanitize_to_string(s, label, len) \
|
||||||
char *pos = NULL; \
|
{ \
|
||||||
strlcpy(s, label, len); \
|
char *pos = NULL; \
|
||||||
while((pos = strchr(s, '_'))) \
|
strlcpy(s, label, len); \
|
||||||
*pos = ' '
|
while((pos = strchr(s, '_'))) \
|
||||||
|
*pos = ' '; \
|
||||||
|
}
|
||||||
|
|
||||||
static int action_get_title_action_generic(const char *path, const char *label,
|
static int action_get_title_action_generic(const char *path, const char *label,
|
||||||
unsigned menu_type, char *s, size_t len)
|
unsigned menu_type, char *s, size_t len)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user