mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
xmb: increase sublabel size limit to handle longer strings (especially CJK languages)
This commit is contained in:
parent
0d699208d3
commit
262634739c
@ -2748,7 +2748,7 @@ static int xmb_draw_item(
|
||||
if (i == current && width > 320 && height > 240
|
||||
&& !string_is_empty(entry->sublabel))
|
||||
{
|
||||
char entry_sublabel[255] = {0};
|
||||
char entry_sublabel[512] = {0};
|
||||
|
||||
label_offset = - xmb->margins_label_top;
|
||||
|
||||
|
@ -364,7 +364,7 @@ void menu_entry_get(menu_entry_t *entry, size_t stack_idx,
|
||||
|
||||
if (cbs->action_sublabel)
|
||||
{
|
||||
char tmp[255];
|
||||
char tmp[512];
|
||||
tmp[0] = '\0';
|
||||
|
||||
cbs->action_sublabel(list,
|
||||
|
Loading…
Reference in New Issue
Block a user