jcs
/subtext
/amendments
/282
session: Fix choosing hidden menu options that don't have a menu key
jcs made amendment 282 over 2 years ago
--- session.c Fri Nov 11 22:15:32 2022
+++ session.c Sun Nov 13 09:32:40 2022
@@ -223,9 +223,6 @@ get_another_char:
if (option->action == ACTION_NONE)
break;
- if (option->menu_key == 0 || option->label == NULL)
- continue;
-
for (j = 0; option->all_keys[j] != '\0'; j++) {
if (option->all_keys[j] == c) {
action = option->action;