diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-03-26 18:31:41 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-03-26 18:31:41 -0700 |
commit | 95070a7016d7334ac1d4e664e42afcfdcd96dc1f (patch) | |
tree | fb0658eb45aa00d93cbe249d365e54b1a7a72827 /commands.c | |
parent | 5af1b825aef689984504a847c8589b2593a08d17 (diff) |
Set refresh when popping the menu stack.
This removes the need for the OPTNEEDREDRAW option and MAYBE_REDRAW
macro previously used to communicate back the need to refresh after
exiting a menu.
Remove the redraw parameter from ci_bounce_message() and
mix_make_chain() which served the same purpose.
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -238,7 +238,7 @@ int mutt_display_message (HEADER *cur) return rc; } -void ci_bounce_message (HEADER *h, int *redraw) +void ci_bounce_message (HEADER *h) { char prompt[SHORT_STRING]; char scratch[SHORT_STRING]; @@ -276,13 +276,6 @@ void ci_bounce_message (HEADER *h, int *redraw) strfcpy(prompt, _("Bounce tagged messages to: "), sizeof(prompt)); rc = mutt_get_field (prompt, buf, sizeof (buf), MUTT_ALIAS); - - if (option (OPTNEEDREDRAW)) - { - unset_option (OPTNEEDREDRAW); - *redraw = REDRAW_FULL; - } - if (rc || !buf[0]) return; |