summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compose.c2
-rw-r--r--imap/browse.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/compose.c b/compose.c
index 1fde2c71..8836b673 100644
--- a/compose.c
+++ b/compose.c
@@ -1144,7 +1144,7 @@ int mutt_compose_menu (SEND_CONTEXT *sctx)
break;
case OP_COMPOSE_EDIT_FCC:
mutt_buffer_strcpy (fname, mutt_b2s (sctx->fcc));
- if (mutt_buffer_get_field (_("Fcc: "), fname, MUTT_FILE | MUTT_CLEAR) == 0)
+ if (mutt_buffer_get_field (_("Fcc: "), fname, MUTT_MAILBOX | MUTT_CLEAR) == 0)
{
mutt_buffer_strcpy (sctx->fcc, mutt_b2s (fname));
mutt_buffer_pretty_multi_mailbox (sctx->fcc, FccDelimiter);
diff --git a/imap/browse.c b/imap/browse.c
index b6700e53..0c70c62c 100644
--- a/imap/browse.c
+++ b/imap/browse.c
@@ -259,7 +259,7 @@ int imap_mailbox_create (const char* folder, BUFFER *result)
buf[n] = '\0';
}
- if (mutt_get_field (_("Create mailbox: "), buf, sizeof (buf), MUTT_FILE) < 0)
+ if (mutt_get_field (_("Create mailbox: "), buf, sizeof (buf), MUTT_MAILBOX) < 0)
goto fail;
if (!mutt_strlen (buf))
@@ -314,7 +314,7 @@ int imap_mailbox_rename(const char* mailbox, BUFFER *result)
snprintf(buf, sizeof (buf), _("Rename mailbox %s to: "), mx.mbox);
strfcpy (newname, mx.mbox, sizeof (newname));
- if (mutt_get_field (buf, newname, sizeof (newname), MUTT_FILE) < 0)
+ if (mutt_get_field (buf, newname, sizeof (newname), MUTT_MAILBOX) < 0)
goto fail;
if (!mutt_strlen (newname))