From: Thomas Roessler Date: Wed, 21 Jul 1999 07:22:49 +0000 (+0000) Subject: call mutt_update_encoding() after changing an attachment's content X-Git-Tag: mutt-0-96-4-rel~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8be34d40e3262545cd38a8f860b77cd840cc11f6;p=mutt call mutt_update_encoding() after changing an attachment's content type. --- 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;