git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25906 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jeffrey Goode 2010-05-09 02:07:42 +00:00
parent 1ad76ff25b
commit 847bd281e2
2 changed files with 4 additions and 0 deletions

View file

@ -886,10 +886,12 @@ long gui_wps_show(void)
#endif #endif
switch(button) switch(button)
{ {
#ifdef HAVE_HOTKEY
case ACTION_WPS_HOTKEY: case ACTION_WPS_HOTKEY:
if (!global_settings.hotkey_wps) if (!global_settings.hotkey_wps)
break; break;
/* fall through */ /* fall through */
#endif
case ACTION_WPS_CONTEXT: case ACTION_WPS_CONTEXT:
{ {
bool hotkey = button == ACTION_WPS_HOTKEY; bool hotkey = button == ACTION_WPS_HOTKEY;

View file

@ -755,10 +755,12 @@ static int dirbrowse()
break; break;
#endif #endif
#ifdef HAVE_HOTKEY
case ACTION_TREE_HOTKEY: case ACTION_TREE_HOTKEY:
if (!global_settings.hotkey_tree) if (!global_settings.hotkey_tree)
break; break;
/* fall through */ /* fall through */
#endif
case ACTION_STD_CONTEXT: case ACTION_STD_CONTEXT:
{ {
bool hotkey = button == ACTION_TREE_HOTKEY; bool hotkey = button == ACTION_TREE_HOTKEY;