From 42781f99d55aa3db39c8c2051a8d89b9a55c7685 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Wed, 5 Apr 2017 16:09:31 -0700 Subject: [PATCH] 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. --- init.c | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.40.0