diff options
-rw-r--r-- | apps/gui/wps.c | 2 | ||||
-rw-r--r-- | apps/tree.c | 2 |
2 files changed, 4 insertions, 0 deletions
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) | |||
886 | #endif | 886 | #endif |
887 | switch(button) | 887 | switch(button) |
888 | { | 888 | { |
889 | #ifdef HAVE_HOTKEY | ||
889 | case ACTION_WPS_HOTKEY: | 890 | case ACTION_WPS_HOTKEY: |
890 | if (!global_settings.hotkey_wps) | 891 | if (!global_settings.hotkey_wps) |
891 | break; | 892 | break; |
892 | /* fall through */ | 893 | /* fall through */ |
894 | #endif | ||
893 | case ACTION_WPS_CONTEXT: | 895 | case ACTION_WPS_CONTEXT: |
894 | { | 896 | { |
895 | bool hotkey = button == ACTION_WPS_HOTKEY; | 897 | bool hotkey = button == ACTION_WPS_HOTKEY; |
diff --git a/apps/tree.c b/apps/tree.c index dde4b57b8a..97ddfbb44d 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -755,10 +755,12 @@ static int dirbrowse() | |||
755 | break; | 755 | break; |
756 | #endif | 756 | #endif |
757 | 757 | ||
758 | #ifdef HAVE_HOTKEY | ||
758 | case ACTION_TREE_HOTKEY: | 759 | case ACTION_TREE_HOTKEY: |
759 | if (!global_settings.hotkey_tree) | 760 | if (!global_settings.hotkey_tree) |
760 | break; | 761 | break; |
761 | /* fall through */ | 762 | /* fall through */ |
763 | #endif | ||
762 | case ACTION_STD_CONTEXT: | 764 | case ACTION_STD_CONTEXT: |
763 | { | 765 | { |
764 | bool hotkey = button == ACTION_TREE_HOTKEY; | 766 | bool hotkey = button == ACTION_TREE_HOTKEY; |