aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-23 10:50:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-23 10:50:06 +0800
commit96d4476b5ecd1d836915a062971d7a514eb3033f (patch)
tree415986015bf494cbcd0f45d6c00ae89b4a7a6a0c
parent1847de54ad41192ff99d8fd36b593d54a855c405 (diff)
downloadgsoc2013-evolution-96d4476b5ecd1d836915a062971d7a514eb3033f.tar
gsoc2013-evolution-96d4476b5ecd1d836915a062971d7a514eb3033f.tar.gz
gsoc2013-evolution-96d4476b5ecd1d836915a062971d7a514eb3033f.tar.bz2
gsoc2013-evolution-96d4476b5ecd1d836915a062971d7a514eb3033f.tar.lz
gsoc2013-evolution-96d4476b5ecd1d836915a062971d7a514eb3033f.tar.xz
gsoc2013-evolution-96d4476b5ecd1d836915a062971d7a514eb3033f.tar.zst
gsoc2013-evolution-96d4476b5ecd1d836915a062971d7a514eb3033f.zip
Oops, revert my change to this function.
2001-10-22 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_one_text_plain_chunk): Oops, revert my change to this function. svn path=/trunk/; revision=13930
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-format.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f40d824709..1bef9ae40d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-10-22 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-format.c (write_one_text_plain_chunk): Oops, revert my
+ change to this function.
+
* mail-display.h (mail_html_write_string): New fun macro.
* mail-format.c (write_one_text_plain_chunk): Use gtk_html_write
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 8f9950cdd3..1cb517d291 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1122,7 +1122,7 @@ write_one_text_plain_chunk (const char *text, int len, MailDisplay *md)
{
mail_html_write_string (md->html, md->stream,
"<table cellspacing=0 cellpadding=10 width=\"100%\"><tr><td>\n");
- gtk_html_write (md->html, md->stream, text, len);
+ mail_text_write (md->html, md->stream, "%.*s", len, text);
mail_html_write_string (md->html, md->stream, "</td></tr></table>\n");
}