input_config_get_bind_string_joyaxis - replace snprintf

This commit is contained in:
twinaphex 2019-09-17 01:25:39 +02:00
parent 4ea493c86c
commit 25f232616b

View File

@ -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;