aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 7734ae116e..e8bf69b7bc 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-21 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (build_message): Init charset to NULL.
+
2003-07-21 Dan Winship <danw@ximian.com>
* e-msg-composer.c (build_message): Make this work again.
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 7e6bf647c1..3e128129e7 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -351,7 +351,7 @@ build_message (EMsgComposer *composer, gboolean save_html_object_data)
CamelMultipart *body = NULL;
CamelContentType *type;
CamelMimeMessage *new;
- const char *charset;
+ const char *charset = NULL;
CamelStream *stream;
CamelMimePart *part;
CamelException ex;
@@ -403,7 +403,7 @@ build_message (EMsgComposer *composer, gboolean save_html_object_data)
}
stream = camel_stream_mem_new_with_byte_array (data);
-
+
/* convert the stream to the appropriate charset */
if (charset && strcasecmp (charset, "UTF-8") != 0) {
CamelStreamFilter *filter_stream;