mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
Remap label fix when no autoconf profile active (#15631)
This commit is contained in:
parent
12136ad516
commit
dec6c0ca31
@ -11572,7 +11572,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
size_t _len = strlcpy(desc_label,
|
||||
msg_hash_to_str(keyptr->enum_idx),
|
||||
sizeof(desc_label));
|
||||
desc_label[ _len] = ' ';
|
||||
desc_label[ _len] = ',';
|
||||
desc_label[++_len] = ' ';
|
||||
desc_label[++_len] = '\0';
|
||||
strlcpy(desc_label + _len, descriptor, sizeof(desc_label) - _len);
|
||||
strlcpy(descriptor, desc_label, sizeof(descriptor));
|
||||
@ -11624,7 +11625,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
size_t _len = strlcpy(desc_label,
|
||||
msg_hash_to_str(keyptr->enum_idx),
|
||||
sizeof(desc_label));
|
||||
desc_label[ _len] = ' ';
|
||||
desc_label[ _len] = ',';
|
||||
desc_label[++_len] = ' ';
|
||||
desc_label[++_len] = '\0';
|
||||
strlcpy(desc_label + _len, descriptor, sizeof(desc_label) - _len);
|
||||
strlcpy(descriptor, desc_label, sizeof(descriptor));
|
||||
|
Loading…
Reference in New Issue
Block a user