diff options
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c index 0cb1fb37ec..c7b6a14344 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -477,7 +477,7 @@ mail_part_is_inline (CamelMimePart *part) /* Otherwise, display it inline if it's "anonymous", and * as an attachment otherwise. */ - return is_anonymous (part, header_content_type_format (content_type)); + return is_anonymous (part, header_content_type_simple (content_type)); } static void @@ -1327,7 +1327,7 @@ find_preferred_alternative (CamelMultipart *multipart, gboolean want_plain) for (i = 0; i < nparts; i++) { CamelMimePart *part = camel_multipart_get_part (multipart, i); CamelContentType *type = camel_mime_part_get_content_type (part); - char *mime_type = header_content_type_format (type); + char *mime_type = header_content_type_simple (type); g_strdown (mime_type); if (want_plain && !strcmp (mime_type, "text/plain")) |