summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-04-23 10:33:46 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-04-23 10:33:46 +0000
commit286d48f4ec99ec3f63687f623053e6dd01445863 (patch)
treeffcd1ac8e45bbb2f425ec1973926c07b32e8e1d4 /apps
parent33b785e40bc2e302cd670a5896429e59cf201be3 (diff)
downloadrockbox-286d48f4ec99ec3f63687f623053e6dd01445863.tar.gz
rockbox-286d48f4ec99ec3f63687f623053e6dd01445863.tar.bz2
rockbox-286d48f4ec99ec3f63687f623053e6dd01445863.zip
enable the quickscreen in menus and neaten up the else if-ing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17222 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/menu.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/apps/menu.c b/apps/menu.c
index c215d6812d..1609aa0fb6 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -455,16 +455,21 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
continue;
if (action == ACTION_NONE)
continue;
-
+#ifdef HAVE_QUICKSCREEN
+ else if (action == ACTION_STD_QUICKSCREEN)
+ {
+ quick_screen_quick(action);
+ redraw_lists = true;
+ }
+#endif
#ifdef HAVE_RECORDING
- if (action == ACTION_STD_REC)
+ else if (action == ACTION_STD_REC)
{
ret = GO_TO_RECSCREEN;
done = true;
}
- else
#endif
- if (action == ACTION_TREE_WPS)
+ else if (action == ACTION_TREE_WPS)
{
ret = GO_TO_PREVIOUS_MUSIC;
done = true;