fix menu screen title bug - patch by Teru

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28391 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Chicoine 2010-10-30 09:38:26 +00:00
parent b03836717b
commit c0c7c8e7c0
1 changed files with 5 additions and 0 deletions

View File

@ -584,6 +584,11 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
temp->function->param);
else
return_value = temp->function->function();
if (!(menu->flags&MENU_EXITAFTERTHISMENU) ||
(temp->flags&MENU_EXITAFTERTHISMENU))
{
init_menu_lists(menu, &lists, selected, true, vps);
}
if (temp->flags&MENU_FUNC_CHECK_RETVAL)
{
if (return_value != 0)