aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-part-utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 01658ef75b..6ab512a187 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,10 @@
2001-10-21 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-mime-part-utils.c
+ (simple_data_wrapper_construct_from_parser): Only do the rawtext
+ checks if the part is a text part, otherwise don't bother wasting
+ cpu cycles.
+
* camel-store.c (camel_folder_info_build): Updated comments to
make the code a bit more clear.
diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c
index 831559ee27..1004509402 100644
--- a/camel/camel-mime-part-utils.c
+++ b/camel/camel-mime-part-utils.c
@@ -241,7 +241,7 @@ simple_data_wrapper_construct_from_parser (CamelDataWrapper *dw, CamelMimeParser
dw->rawtext = TRUE;
/* should we change the content-type header? */
}
- } else {
+ } else if (header_content_type_is (ct, "text", "*")) {
if (charset == NULL) {
/* check that it's 7bit */
dw->rawtext = !is_7bit (buffer);