aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 320324701b..8d5730c904 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -713,7 +713,7 @@ write_to_stream(CamelDataWrapper *data_wrapper, CamelStream *stream)
break;
}
- if (!data_wrapper->rawtext && header_content_type_is(mp->content_type, "text", "*")) {
+ if (!content->rawtext && header_content_type_is(mp->content_type, "text", "*")) {
charset = header_content_type_param(mp->content_type, "charset");
if (charset && !(!strcasecmp(charset, "us-ascii") || !strcasecmp(charset, "utf-8"))) {
charenc = (CamelMimeFilter *)camel_mime_filter_charset_new_convert("UTF-8", charset);