summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-04-30 10:22:39 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-04-30 10:22:39 +0000
commit6d207956d35ddab2697f559078e9310951a1d356 (patch)
tree9866f8be669bc20385df1e1e8aec19c6747d51f9
parent327f845adf7a0d831a235f370ef2eb1636abaab6 (diff)
downloadrockbox-6d207956d35ddab2697f559078e9310951a1d356.tar.gz
rockbox-6d207956d35ddab2697f559078e9310951a1d356.zip
found (and fixed) by Stephane Doyon...
"A glitch was recently introduced when backing out of context menu functions. When exiting for example the playlist viewer, or the id3 viewer, it will speak the name of the menu entry used to access that function. That's pretty confusing because it sounds like you dropped back into the menu system while we have in fact exited the context menu completely." git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17293 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/menu.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/menu.c b/apps/menu.c
index e29b9c4e76..f61acd076b 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -569,10 +569,11 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
569 temp->function->param); 569 temp->function->param);
570 else 570 else
571 return_value = temp->function->function(); 571 return_value = temp->function->function();
572 572 if (!(menu->flags&MENU_EXITAFTERTHISMENU) || (temp->flags&MENU_EXITAFTERTHISMENU))
573 init_default_menu_viewports(menu_vp, hide_bars); 573 {
574 init_menu_lists(menu, &lists, selected, true, vps); 574 init_default_menu_viewports(menu_vp, hide_bars);
575 575 init_menu_lists(menu, &lists, selected, true, vps);
576 }
576 if (temp->flags&MENU_FUNC_CHECK_RETVAL) 577 if (temp->flags&MENU_FUNC_CHECK_RETVAL)
577 { 578 {
578 if (return_value == 1) 579 if (return_value == 1)