From: Kevin McCarthy Date: Wed, 5 Apr 2017 23:09:31 +0000 (-0700) Subject: Remove redraw flag setting after mutt_endwin(). X-Git-Tag: neomutt-20170414~11^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42781f99d55aa3db39c8c2051a8d89b9a55c7685;p=neomutt Remove redraw flag setting after mutt_endwin(). 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. --- diff --git a/init.c b/init.c index 02287e872..523e7e0c1 100644 --- 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; }