diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-07 10:45:47 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-07 10:45:47 +0000 |
commit | d084dc02709698b298f191947cbb42bb283250a0 (patch) | |
tree | ce6107b9134d2717a1298f67c6ba9dc6a2b78255 /handler.c | |
parent | 246198ae90539dd2429032c1620044dde3d5176e (diff) |
Updated implicit autoview handling from stable.
Diffstat (limited to 'handler.c')
-rw-r--r-- | handler.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -878,7 +878,7 @@ static void alternative_handler (BODY *a, STATE *s) while (b) { snprintf (buf, sizeof (buf), "%s/%s", TYPE (b), b->subtype); - if (mutt_is_autoview (buf)) + if (mutt_is_autoview (b, buf)) { rfc1524_entry *entry = rfc1524_new_entry (); @@ -997,7 +997,7 @@ int mutt_can_decode (BODY *a) char type[STRING]; snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype); - if (mutt_is_autoview (type)) + if (mutt_is_autoview (a, type)) return (rfc1524_mailcap_lookup (a, type, NULL, M_AUTOVIEW)); else if (a->type == TYPETEXT) return (1); @@ -1322,7 +1322,7 @@ void mutt_body_handler (BODY *b, STATE *s) /* first determine which handler to use to process this part */ snprintf (type, sizeof (type), "%s/%s", TYPE (b), b->subtype); - if (mutt_is_autoview (type)) + if (mutt_is_autoview (b, type)) { rfc1524_entry *entry = rfc1524_new_entry (); |