aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-23 14:31:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-23 14:31:58 +0800
commit91acf88e955d98ddc12cdb249e05568204d6573c (patch)
tree23e81007bf63e28bb7608a18c2b77fed899c0a70
parent59796eb93c1eeaf5c53559f1424e795da4f137a6 (diff)
downloadgsoc2013-evolution-91acf88e955d98ddc12cdb249e05568204d6573c.tar
gsoc2013-evolution-91acf88e955d98ddc12cdb249e05568204d6573c.tar.gz
gsoc2013-evolution-91acf88e955d98ddc12cdb249e05568204d6573c.tar.bz2
gsoc2013-evolution-91acf88e955d98ddc12cdb249e05568204d6573c.tar.lz
gsoc2013-evolution-91acf88e955d98ddc12cdb249e05568204d6573c.tar.xz
gsoc2013-evolution-91acf88e955d98ddc12cdb249e05568204d6573c.tar.zst
gsoc2013-evolution-91acf88e955d98ddc12cdb249e05568204d6573c.zip
bitwise-or in CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499.
2003-02-23 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_text_header): bitwise-or in CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499. svn path=/trunk/; revision=20006
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-format.c6
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a0292c068f..5fd28357c3 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2003-02-23 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-format.c (write_text_header): bitwise-or in
+ CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES to fix bug #38499.
+
* mail-search.c (mail_search_destroy): New overloaded virtual
method, does what dialog_destroy_cb was trying to do.
(mail_search_construct): Connect to the "response" signal rather
diff --git a/mail/mail-format.c b/mail/mail-format.c
index d3e8e1110c..3b15eb04f6 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -3,7 +3,7 @@
* Authors: Dan Winship <danw@ximian.com>
* Jeffrey Stedfast <fejj@ximian.com>
*
- * Copyright 2000, 2001 Ximian, Inc.
+ * Copyright 2000, 2003 Ximian, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -767,7 +767,9 @@ write_text_header (MailDisplayStream *stream, const char *name, const char *valu
char *encoded;
if (value && *value)
- encoded = camel_text_to_html (value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL | CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS, 0);
+ encoded = camel_text_to_html (value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL |
+ CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES |
+ CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS, 0);
else
encoded = "";