From c415597aa45aa1954e32771b6841ced41c55c2cb Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Mon, 21 Aug 2000 18:42:10 +0000 Subject: Little teeny bug fix in e_text_to_html tab expansion. svn path=/trunk/; revision=4905 --- e-util/ChangeLog | 5 +++++ e-util/e-html-utils.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 9cf8b1f7b4..7c7010b719 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2000-08-21 Peter Williams + + * e-html-utils.c (e_text_to_html): Fix a booboo in the tab + expansion code (didn't use the new value of 'out'). + 2000-08-19 Lauris Kaplinski lauris@helixcode.com * e-font.h: #define e_font_height(f) to save some space diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index 9aba42626e..91cb00aa4b 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -228,7 +228,7 @@ e_text_to_html (const char *input, unsigned int flags) if (flags & (E_TEXT_TO_HTML_CONVERT_SPACES | E_TEXT_TO_HTML_CONVERT_NL)) { do { - check_size (&buffer, &buffer_size, + out = check_size (&buffer, &buffer_size, out, 6); strcpy (out, " "); out += 6; -- cgit v1.2.3