summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorMichael Chicoine <mc2739@gmail.com>2010-10-30 09:38:26 +0000
committerMichael Chicoine <mc2739@gmail.com>2010-10-30 09:38:26 +0000
commitc0c7c8e7c0ffa534ff8b9355cf0a27235771ae38 (patch)
treeccf2062fe51a8fc58570ddd46b8c886c53b71c07 /apps/menu.c
parentb03836717b607b310f189820e5eafe380276c8fd (diff)
downloadrockbox-c0c7c8e7c0ffa534ff8b9355cf0a27235771ae38.tar.gz
rockbox-c0c7c8e7c0ffa534ff8b9355cf0a27235771ae38.tar.bz2
rockbox-c0c7c8e7c0ffa534ff8b9355cf0a27235771ae38.zip
fix menu screen title bug - patch by Teru
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28391 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 8142f9938e..9d67c7b03e 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -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)