aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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");
}