mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fix copy to self causing abort on OSX
This commit is contained in:
parent
7ac985e9be
commit
657f5aa2a2
@ -526,7 +526,7 @@ static void rgui_render(void *data, bool is_idle)
|
||||
back_buf[0] = back_msg[0] = '\0';
|
||||
|
||||
strlcpy(back_buf, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK), sizeof(back_buf));
|
||||
strlcpy(back_msg, string_to_upper(back_buf), sizeof(back_msg));
|
||||
string_to_upper(back_buf);
|
||||
if (rgui_framebuf_data)
|
||||
blit_line(
|
||||
RGUI_TERM_START_X(fb_width),
|
||||
@ -535,7 +535,7 @@ static void rgui_render(void *data, bool is_idle)
|
||||
TITLE_COLOR(settings));
|
||||
}
|
||||
|
||||
strlcpy(title_buf, string_to_upper(title_buf), sizeof(title_buf));
|
||||
string_to_upper(title_buf);
|
||||
|
||||
if (rgui_framebuf_data)
|
||||
blit_line(
|
||||
|
Loading…
x
Reference in New Issue
Block a user