aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/cmenu/complex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/cmenu/complex.c b/com32/cmenu/complex.c
index 7f8beeb8..1ac51997 100644
--- a/com32/cmenu/complex.c
+++ b/com32/cmenu/complex.c
@@ -71,7 +71,7 @@ void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi,
{
int nc, nr;
- if ((scancode) == KEY_F1) { // If scancode of F1
+ if ((scancode) == KEY_F1 && mi->helpid != 0xFFFF) { // If scancode of F1
runhelpsystem(mi->helpid);
}
// If user hit TAB, and item is an "executable" item