diff options
author | Brendan Cully <brendan@kublai.com> | 2005-08-02 01:13:25 +0000 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2005-08-02 01:13:25 +0000 |
commit | 2b0f9878c2299fa7dea81233df7bf1503bdd0fd7 (patch) | |
tree | 7377b050d25e74993247e326ada8bca426831b4d /compose.c | |
parent | 6777c1a623eb1a26392c61355cdf1b6f3915a59e (diff) |
Don't unlink attachments that you've decided not to send. (closes #1328)
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -814,6 +814,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ case OP_DELETE: CHECK_COUNT; + idx[menu->current]->content->unlink = 0; if (delete_attachment (menu, &idxlen, menu->current) == -1) break; mutt_update_tree (idx, idxlen); |