From a44de424b8540d14391bf387945f465877dd92b8 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Wed, 21 Oct 1998 17:17:17 +0000 Subject: [PATCH] Vikas' write_fcc patch. --- compose.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compose.c b/compose.c index 00dfe404..4b34b8dc 100644 --- a/compose.c +++ b/compose.c @@ -1071,6 +1071,11 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ case OP_COMPOSE_WRITE_MESSAGE: fname[0] = '\0'; + if (Context) + { + strfcpy (fname, NONULL (Context->path), sizeof (fname)); + mutt_pretty_mailbox (fname); + } if (idxlen) msg->content = idx[0]->content; if (mutt_enter_fname (_("Write message to mailbox"), fname, sizeof (fname), -- 2.40.0