From 847bd281e2cb78ecec493b8181327f4acd662b12 Mon Sep 17 00:00:00 2001 From: Jeffrey Goode Date: Sun, 9 May 2010 02:07:42 +0000 Subject: Fix red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25906 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/wps.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/gui/wps.c') diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 96f66eeb50..4eda866d27 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; -- cgit v1.2.3