aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-06-12 12:48:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-06-12 12:48:05 +0800
commit5ea1f1d1cff441f1cb25a9ee02a17fe62984003c (patch)
tree6586dccddfa6d185b531808b801d71d58c95434e /camel/camel-mime-part-utils.c
parent5cabf1be00f596a7497d50b3d72bce841bdaed91 (diff)
downloadgsoc2013-evolution-5ea1f1d1cff441f1cb25a9ee02a17fe62984003c.tar.gz
gsoc2013-evolution-5ea1f1d1cff441f1cb25a9ee02a17fe62984003c.tar.zst
gsoc2013-evolution-5ea1f1d1cff441f1cb25a9ee02a17fe62984003c.zip
Partial fix for bug #44457.
2003-06-11 Jeffrey Stedfast <fejj@ximian.com> Partial fix for bug #44457. * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): Make sure to set rawtext to FALSE if we successfully convert the text to UTF-8. * camel-data-wrapper.c (camel_data_wrapper_init): Default the value of rawtext to TRUE instead of FALSE. This way if the mailer decides to try displaying a non-textual part as text, it knows that it needs to convert the content to UTF-8. svn path=/trunk/; revision=21420
Diffstat (limited to 'camel/camel-mime-part-utils.c')
-rw-r--r--camel/camel-mime-part-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c
index 7f55dc7639..384e235dd6 100644
--- a/camel/camel-mime-part-utils.c
+++ b/camel/camel-mime-part-utils.c
@@ -380,6 +380,7 @@ simple_data_wrapper_construct_from_parser (CamelDataWrapper *dw, CamelMimeParser
if (out) {
/* converted ok, use this data instead */
g_byte_array_free(buffer, TRUE);
+ dw->rawtext = FALSE;
buffer = out;
} else {
/* else failed to convert, leave as raw? */