diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-07-26 17:08:07 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-07-26 17:08:07 +0000 |
commit | 19aeb698975267694f5b3ef03c259c09a96616d2 (patch) | |
tree | 24df84f2d3c4496e1c18365b7d52f9267348f0c7 /handler.c | |
parent | 15dd1d8f4baf025aadf52aafa5ecbf2519b2f8ea (diff) |
When an attachment's content-disposition is different from "inline",
and if the user sets the use_cdisp option, don't auto_view this
part.
Diffstat (limited to 'handler.c')
-rw-r--r-- | handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1324,7 +1324,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 (b, type)) + if (mutt_is_autoview (b, type) && (b->disposition == DISPINLINE || !option (OPTUSECDISP))) { rfc1524_entry *entry = rfc1524_new_entry (); |