X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/b1eb6e1b6009874e848940b9263ce223c3905c35..e36f871cf0692328a44eddfff02d1fd9399280b7:/debian/patches/upstream/393926-internal-viewer.patch?ds=inline diff --git a/debian/patches/upstream/393926-internal-viewer.patch b/debian/patches/upstream/393926-internal-viewer.patch index 70c4575..f97f42a 100644 --- a/debian/patches/upstream/393926-internal-viewer.patch +++ b/debian/patches/upstream/393926-internal-viewer.patch @@ -1,19 +1,21 @@ -Display any text/* part with the internal viewer, see upstream bug +Display text/x-diff with the internal viewer, see upstream bug http://bugs.mutt.org/3246 --- a/muttlib.c +++ b/muttlib.c -@@ -622,11 +622,8 @@ +@@ -622,11 +622,11 @@ switch (m->type) { case TYPETEXT: - -- if (!ascii_strcasecmp ("plain", m->subtype) || + 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; ++ !ascii_strcasecmp ("rfc822-headers", m->subtype) || ++ !ascii_strcasecmp ("enriched", m->subtype) || ++ !ascii_strcasecmp ("x-diff", m->subtype)) ++ return 0; break; case TYPEAPPLICATION: