]> granicus.if.org Git - neomutt/commitdiff
Remove redraw flag setting after mutt_endwin().
authorKevin McCarthy <kevin@8t8.us>
Wed, 5 Apr 2017 23:09:31 +0000 (16:09 -0700)
committerRichard Russon <rich@flatcap.org>
Sun, 9 Apr 2017 17:43:55 +0000 (18:43 +0100)
There is no need to set a redraw flag in this case.  The screen will
automatically be properly redrawn on the next refresh().

Remove, lest it get propagated.

init.c

diff --git a/init.c b/init.c
index 02287e872af1ad1eb00a2eb2277a297741da9573..523e7e0c1c1826d7b27fbb00b492c56c7d3e0343 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1526,8 +1526,6 @@ static int parse_attachments (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER
     print_attach_list(AttachExclude, '-', "A");
     print_attach_list(InlineAllow,   '+', "I");
     print_attach_list(InlineExclude, '-', "I");
-    mutt_set_menu_redraw_full (MENU_MAIN);
-    mutt_set_menu_redraw_full (MENU_PAGER);
     mutt_any_key_to_continue (NULL);
     return 0;
   }
@@ -2192,7 +2190,6 @@ static int parse_setenv(BUFFER *tmp, BUFFER *s, unsigned long data, BUFFER *err)
 
     if (found)
     {
-      mutt_set_current_menu_redraw_full ();
       mutt_any_key_to_continue (NULL);
       return 0;
     }