aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser-text-plain.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-parser-text-plain.c')
-rw-r--r--em-format/e-mail-parser-text-plain.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/em-format/e-mail-parser-text-plain.c b/em-format/e-mail-parser-text-plain.c
index 00a7b53b18..1795d019a9 100644
--- a/em-format/e-mail-parser-text-plain.c
+++ b/em-format/e-mail-parser-text-plain.c
@@ -98,8 +98,7 @@ process_part (EMailParser *parser,
}
type = camel_mime_part_get_content_type (part);
- if (camel_content_type_is (type, "text", "*") &&
- (!camel_content_type_is (type, "text", "calendar"))) {
+ if (!camel_content_type_is (type, "text", "calendar")) {
g_string_append_printf (part_id, ".plain_text.%d", part_number);