summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2010-05-09 02:07:42 +0000
committerJeffrey Goode <jeffg7@gmail.com>2010-05-09 02:07:42 +0000
commit847bd281e2cb78ecec493b8181327f4acd662b12 (patch)
treecc89fd157a4b6083b61eee46b324a6f5b3672e22 /apps
parent1ad76ff25be3f86b9467fc6f4171dbf6895b419c (diff)
downloadrockbox-847bd281e2cb78ecec493b8181327f4acd662b12.zip
rockbox-847bd281e2cb78ecec493b8181327f4acd662b12.tar.gz
rockbox-847bd281e2cb78ecec493b8181327f4acd662b12.tar.bz2
rockbox-847bd281e2cb78ecec493b8181327f4acd662b12.tar.xz
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25906 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/wps.c2
-rw-r--r--apps/tree.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 96f66ee..4eda866 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -886,10 +886,12 @@ long gui_wps_show(void)
#endif
switch(button)
{
+#ifdef HAVE_HOTKEY
case ACTION_WPS_HOTKEY:
if (!global_settings.hotkey_wps)
break;
/* fall through */
+#endif
case ACTION_WPS_CONTEXT:
{
bool hotkey = button == ACTION_WPS_HOTKEY;
diff --git a/apps/tree.c b/apps/tree.c
index dde4b57..97ddfbb 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -755,10 +755,12 @@ static int dirbrowse()
break;
#endif
+#ifdef HAVE_HOTKEY
case ACTION_TREE_HOTKEY:
if (!global_settings.hotkey_tree)
break;
/* fall through */
+#endif
case ACTION_STD_CONTEXT:
{
bool hotkey = button == ACTION_TREE_HOTKEY;