mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
input_config_get_bind_string_joyaxis - replace snprintf
This commit is contained in:
parent
4ea493c86c
commit
25f232616b
@ -14575,7 +14575,8 @@ static void input_config_get_bind_string_joyaxis(char *buf, const char *prefix,
|
|||||||
if (bind->joyaxis_label &&
|
if (bind->joyaxis_label &&
|
||||||
!string_is_empty(bind->joyaxis_label)
|
!string_is_empty(bind->joyaxis_label)
|
||||||
&& settings->bools.input_descriptor_label_show)
|
&& 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
|
else
|
||||||
{
|
{
|
||||||
unsigned axis = 0;
|
unsigned axis = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user