mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(configuration.c) Fix mistake in NULL terminator assignment
This commit is contained in:
parent
440a67e4b8
commit
ec47b9883d
@ -4258,7 +4258,7 @@ static void save_keybind_axis(config_file_t *conf,
|
||||
key[len+2] = 'x';
|
||||
key[len+3] = 'i';
|
||||
key[len+4] = 's';
|
||||
key[len+4] = '\0';
|
||||
key[len+5] = '\0';
|
||||
|
||||
if (bind->joyaxis == AXIS_NONE)
|
||||
{
|
||||
@ -4294,7 +4294,7 @@ static void save_keybind_mbutton(config_file_t *conf,
|
||||
key[len+2] = 'b';
|
||||
key[len+3] = 't';
|
||||
key[len+4] = 'n';
|
||||
key[len+4] = '\0';
|
||||
key[len+5] = '\0';
|
||||
|
||||
switch (bind->mbutton)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user