summaryrefslogtreecommitdiffstats
path: root/curs_main.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-09-18 13:52:45 -0700
committerKevin McCarthy <kevin@8t8.us>2021-09-18 13:56:59 -0700
commitc1c94be145a88d04b305dd7238c3bb3a064af8a5 (patch)
treed4276132cb7bb311cd558f3f067bc81050c8fc76 /curs_main.c
parent960afab461d1f72f64f322fe42738a91a066cc38 (diff)
Use km_error_key() in index only for OP_NULL.
Like other menus, just ignore unimplemented functions.
Diffstat (limited to 'curs_main.c')
-rw-r--r--curs_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/curs_main.c b/curs_main.c
index 71bc83bd..496a2633 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -2655,9 +2655,10 @@ int mutt_index_menu (void)
break;
#endif
- default:
+ case OP_NULL:
if (!in_pager)
km_error_key (MENU_MAIN);
+ break;
}
if (in_pager)