mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
(menu_displaylist) Cleanup
This commit is contained in:
parent
1e5cea48b0
commit
915bbc9bcc
@ -9395,7 +9395,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
fgets(current_profile, PATH_MAX_LENGTH, profile);
|
||||
pclose(profile);
|
||||
|
||||
snprintf(text, sizeof(text), "Current profile : %s", current_profile);
|
||||
strlcpy(text, "Current profile : ", sizeof(text));
|
||||
strlcat(text, current_profile, sizeof(text));
|
||||
#else
|
||||
u32 currentClock = 0;
|
||||
if (hosversionBefore(8, 0, 0))
|
||||
@ -9456,7 +9457,8 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list);
|
||||
|
||||
snprintf(text, sizeof(text), "Current profile : %s", current_profile);
|
||||
strlcpy(text, "Current profile : ", sizeof(text));
|
||||
strlcat(text, current_profile, sizeof(text));
|
||||
|
||||
if (menu_entries_append_enum(info->list, text, "", 0, MENU_INFO_MESSAGE, 0, 0))
|
||||
count++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user