diff options
author | Brendan Cully <brendan@kublai.com> | 2005-09-21 02:58:07 +0000 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2005-09-21 02:58:07 +0000 |
commit | 44b8b2a0dce69ea52d95bce1cc295b97a000a67d (patch) | |
tree | 2fa69a3b24e65d688497ebc5b43a99e9e529af17 /curs_main.c | |
parent | 1009b3333d82a5f10769120fee93c3c125ed6160 (diff) |
Cancelling <change-folder> from within the pager will now keep you in the
pager rather than kicking you back to the index. Closes: #2075.
Diffstat (limited to 'curs_main.c')
-rw-r--r-- | curs_main.c | 10 |
1 files changed, 9 insertions, 1 deletions
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); |