aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-format.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e73cb061f2..8543220b7f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-07-24 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-format.c (handle_text_plain): check_specials if this is an
+ application/pgp type as well.
+
* mail-ops.c (add_vtrash_info): When dumping the CamelURL to a
string, hide all the params.
diff --git a/mail/mail-format.c b/mail/mail-format.c
index a5f4007b6d..795bfefa5d 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1012,7 +1012,7 @@ handle_text_plain (CamelMimePart *part, const char *mime_type,
* has decided to call text/plain because it starts with English
* text...)
*/
- check_specials = (g_strcasecmp (mime_type, "text/plain") == 0);
+ check_specials = !g_strcasecmp (mime_type, "text/plain") || !g_strcasecmp (mime_type, "application/pgp");
p = text;
while (p && check_specials) {