From da2b45f2e5cfcdf730849fbd5261ef8f0761bdcb Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 23 Jun 2005 10:11:10 +0000 Subject: 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 --- apps/wps.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/wps.c') diff --git a/apps/wps.c b/apps/wps.c index 022226c43d..bc545e4f52 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -616,6 +616,7 @@ long wps_show(void) break; /* menu key functions */ +#ifdef WPS_MENU #ifdef WPS_RC_MENU case WPS_RC_MENU: #endif @@ -640,6 +641,7 @@ long wps_show(void) #endif restore = true; break; +#endif /* WPS_MENU */ #ifdef WPS_KEYLOCK /* key lock */ -- cgit v1.2.3