xmb: increase sublabel size limit to handle longer strings (especially CJK languages)

This commit is contained in:
Brad Parker 2018-10-08 23:29:17 -04:00
parent 0d699208d3
commit 262634739c
2 changed files with 2 additions and 2 deletions

View File

@ -2748,7 +2748,7 @@ static int xmb_draw_item(
if (i == current && width > 320 && height > 240 if (i == current && width > 320 && height > 240
&& !string_is_empty(entry->sublabel)) && !string_is_empty(entry->sublabel))
{ {
char entry_sublabel[255] = {0}; char entry_sublabel[512] = {0};
label_offset = - xmb->margins_label_top; label_offset = - xmb->margins_label_top;

View File

@ -364,7 +364,7 @@ void menu_entry_get(menu_entry_t *entry, size_t stack_idx,
if (cbs->action_sublabel) if (cbs->action_sublabel)
{ {
char tmp[255]; char tmp[512];
tmp[0] = '\0'; tmp[0] = '\0';
cbs->action_sublabel(list, cbs->action_sublabel(list,