]> granicus.if.org Git - neomutt/commitdiff
call mutt_update_encoding() after changing an attachment's content
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 21 Jul 1999 07:22:49 +0000 (07:22 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 21 Jul 1999 07:22:49 +0000 (07:22 +0000)
type.

compose.c

index 43be5b55b57f0538a8d578ba4b42c1804a7d2d92..d17dec6b5e9b84f3ee0880b04145e4150b21023c 100644 (file)
--- 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;