summaryrefslogtreecommitdiff
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-06-23 10:11:10 +0000
committerJens Arnold <amiconn@rockbox.org>2005-06-23 10:11:10 +0000
commitda2b45f2e5cfcdf730849fbd5261ef8f0761bdcb (patch)
treeae220e13ae2d7013815b4d06423d7fd90f13fdd1 /apps/menu.c
parent3263620c5c296dd181e8a54d1bc51c5869b129ff (diff)
downloadrockbox-da2b45f2e5cfcdf730849fbd5261ef8f0761bdcb.zip
rockbox-da2b45f2e5cfcdf730849fbd5261ef8f0761bdcb.tar.gz
rockbox-da2b45f2e5cfcdf730849fbd5261ef8f0761bdcb.tar.bz2
rockbox-da2b45f2e5cfcdf730849fbd5261ef8f0761bdcb.tar.xz
When exiting the context menu with the menu button, call the main menu. Mainly useful on Ondio which can't have both main menu and context menu bound in wps. Holding MODE on Ondio will now bring up the wps context menu instead of the main menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6840 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 6966bc9..60cc4b7 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -376,8 +376,8 @@ int menu_show(int m)
#ifdef MENU_EXIT2
case MENU_EXIT2:
#endif
-#ifdef MENU_EXIT3
- case MENU_EXIT3:
+#ifdef MENU_EXIT_MENU
+ case MENU_EXIT_MENU:
#endif
#ifdef MENU_RC_EXIT
case MENU_RC_EXIT: