From 6b4c4caa801ffe2eefdb3d14273c5f640ea52927 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Mon, 12 Sep 2016 22:47:49 +0100 Subject: [PATCH] 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 --- pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.49.0