diff --git a/curs_main.c b/curs_main.c index 653b226..9c7d459 100644 --- a/curs_main.c +++ b/curs_main.c @@ -758,7 +758,10 @@ int mutt_index_menu (void) mutt_curs_set (1); /* fallback from the pager */ } - nm_debug_check(Context); + if (Context) + { + nm_debug_check(Context); + } switch (op) { @@ -2366,7 +2369,11 @@ int mutt_index_menu (void) km_error_key (MENU_MAIN); } - nm_debug_check(Context); + if (Context) + { + nm_debug_check(Context); + } + if (menu->menu == MENU_PAGER) {