summaryrefslogtreecommitdiffstats
path: root/curs_main.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-03-31 18:15:31 -0700
committerKevin McCarthy <kevin@8t8.us>2017-03-31 18:15:31 -0700
commitde879bfa5b37fd40db3e9a31f0eec8027b97da77 (patch)
tree4a1f9187953ae70129f6f0b7cb24d99bd25151f7 /curs_main.c
parentee66d1d8e2a720d2482874ea0316bb9af5f6741a (diff)
Remove refresh parameter from mutt_enter_fname().
Also remove it from mutt_save_message(), which used it to pass through to mutt_enter_fname(). The callers of this already had redraw logic, to which REDRAW_STATUS merely needed to be added.
Diffstat (limited to 'curs_main.c')
-rw-r--r--curs_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/curs_main.c b/curs_main.c
index 108e0f5b..a1b69e8d 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -1216,7 +1216,7 @@ int mutt_index_menu (void)
{
mutt_buffy (buf, sizeof (buf));
- if (mutt_enter_fname (cp, buf, sizeof (buf), &menu->redraw, 1) == -1)
+ if (mutt_enter_fname (cp, buf, sizeof (buf), 1) == -1)
{
if (menu->menu == MENU_PAGER)
{
@@ -1561,11 +1561,11 @@ int mutt_index_menu (void)
(op == OP_SAVE) || (op == OP_DECODE_SAVE),
(op == OP_DECODE_SAVE) || (op == OP_DECODE_COPY),
(op == OP_DECRYPT_SAVE) || (op == OP_DECRYPT_COPY) ||
- 0,
- &menu->redraw) == 0 &&
+ 0) == 0 &&
(op == OP_SAVE || op == OP_DECODE_SAVE || op == OP_DECRYPT_SAVE)
)
{
+ menu->redraw |= REDRAW_STATUS;
if (tag)
menu->redraw |= REDRAW_INDEX;
else if (option (OPTRESOLVE))