From 25f232616b8d6b4cdbd9ae14d1b007ebd5bceb17 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 17 Sep 2019 01:25:39 +0200 Subject: [PATCH] input_config_get_bind_string_joyaxis - replace snprintf --- retroarch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;