summaryrefslogtreecommitdiffstats
path: root/curs_lib.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_lib.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_lib.c')
-rw-r--r--curs_lib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 273e84b2..04137574 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -735,7 +735,7 @@ int mutt_do_pager (const char *banner,
return rc;
}
-int _mutt_enter_fname (const char *prompt, char *buf, size_t blen, int *redraw, int buffy, int multiple, char ***files, int *numfiles)
+int _mutt_enter_fname (const char *prompt, char *buf, size_t blen, int buffy, int multiple, char ***files, int *numfiles)
{
event_t ch;
@@ -760,7 +760,6 @@ int _mutt_enter_fname (const char *prompt, char *buf, size_t blen, int *redraw,
buf[0] = 0;
_mutt_select_file (buf, blen, MUTT_SEL_FOLDER | (multiple ? MUTT_SEL_MULTI : 0),
files, numfiles);
- *redraw = REDRAW_FULL;
}
else
{