mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-30 19:50:24 +00:00
Shut up a string truncation warning
This commit is contained in:
parent
f57fcd4048
commit
8e06aa2417
@ -9740,7 +9740,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
{
|
||||
if (!string_is_empty(cd_info.title))
|
||||
{
|
||||
char title[256];
|
||||
char title[sizeof("Title: ")+sizeof(cd_info.title)];
|
||||
snprintf(title, sizeof(title), "Title: %s", cd_info.title);
|
||||
|
||||
if (menu_entries_append_enum(info->list,
|
||||
|
Loading…
Reference in New Issue
Block a user