]> granicus.if.org Git - mutt/commitdiff
Always display text/* parts inline, overrideable by auto_view. Closes #3246.
authorRocco Rutte <pdmef@gmx.net>
Wed, 17 Jun 2009 16:02:19 +0000 (18:02 +0200)
committerRocco Rutte <pdmef@gmx.net>
Wed, 17 Jun 2009 16:02:19 +0000 (18:02 +0200)
UPDATING
muttlib.c

index 9d2ac14771c818b1c45ada38508e8ed9675e2bf9..36a2fb7af34ff20576b26f93787477c2fc9389c5 100644 (file)
--- a/UPDATING
+++ b/UPDATING
@@ -6,6 +6,8 @@ The keys used are:
 
 hg tip:
 
+  + all text/* parts can be displayed inline without mailcap
+
 1.5.20 (2009-06-14):
 
   ! $fcc_attach is a quadoption now
index 590bef7a89a786227ed8620b310ee02f09148677..8539c8fa082c99d228ebe74236aa9c2cd740ac50 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -622,11 +622,8 @@ int mutt_needs_mailcap (BODY *m)
   switch (m->type)
   {
     case TYPETEXT:
-
-      if (!ascii_strcasecmp ("plain", m->subtype) ||
-         !ascii_strcasecmp ("rfc822-headers", m->subtype) ||
-         !ascii_strcasecmp ("enriched", m->subtype))
-       return 0;
+      /* we can display any text, overridable by auto_view */
+      return 0;
       break;
 
     case TYPEAPPLICATION: