From: Thomas Roessler Date: Thu, 30 Aug 2001 08:20:45 +0000 (+0000) Subject: Fix #750 / deb#108628. X-Git-Tag: mutt-1-3-22-rel~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5045d734e9e0e744f07e250ab8464d6d15553f07;p=mutt Fix #750 / deb#108628. --- diff --git a/curs_main.c b/curs_main.c index a17e4d89..8baefbc2 100644 --- a/curs_main.c +++ b/curs_main.c @@ -516,7 +516,7 @@ int mutt_index_menu (void) if (menu->menu == MENU_MAIN) { - if (Context) + if (Context && Context->hdrs) { menu_check_recenter (menu); @@ -1565,7 +1565,7 @@ int mutt_index_menu (void) case OP_CREATE_ALIAS: - mutt_create_alias (Context && Context->vcount ? CURHDR->env : NULL, NULL); + mutt_create_alias (Context && Context->vcount ? CURHDR->env : NULL, NULL); MAYBE_REDRAW (menu->redraw); menu->redraw |= REDRAW_CURRENT; break;