forked from len0rd/rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15546 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
51afaf20a3
commit
c586739763
1 changed files with 10 additions and 0 deletions
10
apps/menu.c
10
apps/menu.c
|
|
@ -482,6 +482,16 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
|
||||||
temp->function->param);
|
temp->function->param);
|
||||||
else
|
else
|
||||||
return_value = temp->function->function();
|
return_value = temp->function->function();
|
||||||
|
|
||||||
|
/* check if a new lang was loaded. IF this isnt done then
|
||||||
|
the title for "General Settings" will be fudged untill
|
||||||
|
the settings menu is exited and reentered */
|
||||||
|
if (temp->flags&MENU_HAS_DESC &&
|
||||||
|
temp->callback_and_desc->desc == ID2P(LANG_LANGUAGE))
|
||||||
|
{
|
||||||
|
init_menu_lists(menu, &lists, selected, true);
|
||||||
|
}
|
||||||
|
|
||||||
if (temp->flags&MENU_FUNC_CHECK_RETVAL)
|
if (temp->flags&MENU_FUNC_CHECK_RETVAL)
|
||||||
{
|
{
|
||||||
if (return_value == 1)
|
if (return_value == 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue