diff --git a/retroarch.c b/retroarch.c index 73addb1b9c..6a4d83a6e5 100644 --- a/retroarch.c +++ b/retroarch.c @@ -14575,7 +14575,8 @@ static void input_config_get_bind_string_joyaxis(char *buf, const char *prefix, if (bind->joyaxis_label && !string_is_empty(bind->joyaxis_label) && settings->bools.input_descriptor_label_show) - snprintf(buf, size, "%s%s (axis)", prefix, bind->joyaxis_label); + fill_pathname_join_delim_concat(buf, prefix, + bind->joyaxis_label, ' ', " (axis)", size); else { unsigned axis = 0;