summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-08-04 09:47:17 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-08-04 09:47:17 +0000
commit75e2f19de334bcbfa9d15062674d8efcb0eb2a64 (patch)
tree7dcd6dfbddb7c272a70902f94eaca48caf9c7f0d
parent88882a83d61c511d69256ed4d20dcaa12707855b (diff)
downloadrockbox-75e2f19de334bcbfa9d15062674d8efcb0eb2a64.tar.gz
rockbox-75e2f19de334bcbfa9d15062674d8efcb0eb2a64.tar.bz2
rockbox-75e2f19de334bcbfa9d15062674d8efcb0eb2a64.zip
dont redraw the menu if we are about to quit anyway (noticable when backing out of the playlist menu from the wps context menu)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14180 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 0b6be4c706..d690a2dcb0 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -385,7 +385,8 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
menu = menu_stack[stack_top];
if (menu->flags&MENU_EXITAFTERTHISMENU)
done = true;
- init_menu_lists(menu, &lists,
+ else
+ init_menu_lists(menu, &lists,
menu_stack_selected_item[stack_top], false);
/* new menu, so reload the callback */
get_menu_callback(menu, &menu_callback);