From 44b8b2a0dce69ea52d95bce1cc295b97a000a67d Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Wed, 21 Sep 2005 02:58:07 +0000 Subject: [PATCH] Cancelling from within the pager will now keep you in the pager rather than kicking you back to the index. Closes: #2075. --- curs_main.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/curs_main.c b/curs_main.c index 62e7f40b..23507626 100644 --- a/curs_main.c +++ b/curs_main.c @@ -1072,7 +1072,15 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); mutt_buffy (buf, sizeof (buf)); if (mutt_enter_fname (cp, buf, sizeof (buf), &menu->redraw, 1) == -1) - break; + { + if (menu->menu == MENU_PAGER) + { + op = OP_DISPLAY_MESSAGE; + continue; + } + else + break; + } if (!buf[0]) { CLEARLINE (LINES-1); -- 2.50.1