summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-03-26 18:31:41 -0700
committerKevin McCarthy <kevin@8t8.us>2017-03-26 18:31:41 -0700
commit95070a7016d7334ac1d4e664e42afcfdcd96dc1f (patch)
treefb0658eb45aa00d93cbe249d365e54b1a7a72827 /commands.c
parent5af1b825aef689984504a847c8589b2593a08d17 (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.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/commands.c b/commands.c
index 8b0162b3..f3fbc582 100644
--- a/commands.c
+++ b/commands.c
@@ -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;