]> granicus.if.org Git - mutt/commitdiff
Automatically use the text/plain handler for text/* body parts which
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 23 Jan 2003 22:01:03 +0000 (22:01 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 23 Jan 2003 22:01:03 +0000 (22:01 +0000)
don't have a handler of their own.

handler.c

index 6ca276f45bcf255a2ac929adacf3bc5c2138f1de..98d9190b5fefc6953d5568158811b633ab0ee1cc 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -1766,7 +1766,7 @@ void mutt_body_handler (BODY *b, STATE *s)
     }
     else if (ascii_strcasecmp ("enriched", b->subtype) == 0)
       handler = text_enriched_handler;
-    else if (ascii_strcasecmp ("rfc822-headers", b->subtype) == 0)
+    else /* text body type without a handler */
       plaintext = 1;
   }
   else if (b->type == TYPEMESSAGE)