]> git.llucax.com Git - software/mutt-debian.git/blob - debian/patches/upstream/393926-internal-viewer.patch
upstream/311296-rand-mktemp.patch: more random file creation in /tmp, see CVE CAN...
[software/mutt-debian.git] / debian / patches / upstream / 393926-internal-viewer.patch
1 Display text/x-diff 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,11 @@
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 +         !ascii_strcasecmp ("rfc822-headers", m->subtype) ||
16 +         !ascii_strcasecmp ("enriched", m->subtype) ||
17 +         !ascii_strcasecmp ("x-diff", m->subtype))
18 +       return 0;
19        break;
20  
21      case TYPEAPPLICATION: