diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-21 17:17:17 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-21 17:17:17 +0000 |
commit | a44de424b8540d14391bf387945f465877dd92b8 (patch) | |
tree | 86584cea7f37ba642a9085e930c01524b4feeef1 /compose.c | |
parent | 4e55cc6e2fd54e8921662f1e0167298e91e83a91 (diff) |
Vikas' write_fcc patch.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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), |