changeset: 6878:d72caeecf4af
user:      Kevin McCarthy <ke...@8t8.us>
date:      Tue Nov 29 17:48:33 2016 -0800
link:      http://dev.mutt.org/hg/mutt/rev/d72caeecf4af

Return to pager upon aborting a jump operation. (closes #3901)

diffs (18 lines):

diff -r 1196c859942e -r d72caeecf4af curs_main.c
--- a/curs_main.c       Tue Nov 29 17:44:37 2016 -0800
+++ b/curs_main.c       Tue Nov 29 17:48:33 2016 -0800
@@ -831,7 +831,14 @@
        buf[0] = 0;
        if (mutt_get_field (_("Jump to message: "), buf, sizeof (buf), 0) != 0
            || !buf[0])
+        {
+          if (menu->menu == MENU_PAGER)
+          {
+            op = OP_DISPLAY_MESSAGE;
+            continue;
+          }
          break;
+        }
 
        if (mutt_atoi (buf, &i) < 0)
        {

Reply via email to