From: Richard Russon Date: Mon, 12 Sep 2016 21:47:49 +0000 (+0100) Subject: fix crash when exiting the pager X-Git-Tag: neomutt-20160916~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b4c4ca;p=neomutt fix crash when exiting the pager Make sure we've always got a menu pointer. This is a fix for commit: "check for new mail while in pager when idle" Fixes: #143 --- diff --git a/pager.c b/pager.c index 6e7f29c3c..401891885 100644 --- a/pager.c +++ b/pager.c @@ -1828,7 +1828,7 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra) } #endif - if (IsHeader (extra) && PagerIndexLines) + if (IsHeader (extra)) { if (index == NULL) {