diff options
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-html-utils.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index ce4de0c31a..e724f696d0 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2000-08-11 Peter Williams <peterw@helixcode.com> + + * e-html-utils.c (e_text_to_html): Fix the tab expansion + for when the length would exceed the ten characters that + we allocated. + 2000-08-10 Dan Winship <danw@helixcode.com> * e-setup.[ch]: Remove. The shell tells the components where diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index 7ff97371eb..9aba42626e 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -228,6 +228,8 @@ 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, 6); strcpy (out, " "); out += 6; col++; |