~ubuntu-branches/ubuntu/precise/mutt/precise

« back to all changes in this revision

Viewing changes to debian/patches/upstream/393926-internal-viewer.patch

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-10-02 23:27:47 UTC
  • Revision ID: james.westby@ubuntu.com-20091002232747-yr6lnwn8cqqna8p5
Tags: 1.5.20-4ubuntu1
Revert upstream/393926-internal-viewer.patch, which introduces
regressions in the support for all text/types that have interactive
external handlers in mailcap (e.g., text/html).  The regression is being
tracked as Debian bug #546760.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Display any text/* part with the internal viewer, see upstream bug
2
 
http://bugs.mutt.org/3246
3
 
 
4
 
--- a/muttlib.c
5
 
+++ b/muttlib.c
6
 
@@ -622,11 +622,8 @@
7
 
   switch (m->type)
8
 
   {
9
 
     case TYPETEXT:
10
 
-
11
 
-      if (!ascii_strcasecmp ("plain", m->subtype) ||
12
 
-         !ascii_strcasecmp ("rfc822-headers", m->subtype) ||
13
 
-         !ascii_strcasecmp ("enriched", m->subtype))
14
 
-       return 0;
15
 
+      /* we can display any text, overridable by auto_view */
16
 
+      return 0;
17
 
       break;
18
 
 
19
 
     case TYPEAPPLICATION: