summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-07-21 07:22:49 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-07-21 07:22:49 +0000
commit8be34d40e3262545cd38a8f860b77cd840cc11f6 (patch)
tree204d5d787a6580e887aafe24933597da433e86ba /compose.c
parentcb8141603e6b13ac7e5ba033902962d03f3f33f1 (diff)
call mutt_update_encoding() after changing an attachment's content
type.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/compose.c b/compose.c
index 43be5b55..d17dec6b 100644
--- a/compose.c
+++ b/compose.c
@@ -889,7 +889,10 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
b->hdr->content = NULL;
mutt_free_header (&b->hdr);
}
-
+
+ /* this may have been a change from something to text/* */
+ mutt_update_encoding (b);
+
menu->redraw = REDRAW_CURRENT;
}
break;