aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-22 02:42:10 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-22 02:42:10 +0800
commitc415597aa45aa1954e32771b6841ced41c55c2cb (patch)
tree0cd92aaff6a0d7d004962497e344400bd897a95c
parentbcaa8e51c685fcd8e2919cc2a6db2173f5e9fa07 (diff)
downloadgsoc2013-evolution-c415597aa45aa1954e32771b6841ced41c55c2cb.tar
gsoc2013-evolution-c415597aa45aa1954e32771b6841ced41c55c2cb.tar.gz
gsoc2013-evolution-c415597aa45aa1954e32771b6841ced41c55c2cb.tar.bz2
gsoc2013-evolution-c415597aa45aa1954e32771b6841ced41c55c2cb.tar.lz
gsoc2013-evolution-c415597aa45aa1954e32771b6841ced41c55c2cb.tar.xz
gsoc2013-evolution-c415597aa45aa1954e32771b6841ced41c55c2cb.tar.zst
gsoc2013-evolution-c415597aa45aa1954e32771b6841ced41c55c2cb.zip
Little teeny bug fix in e_text_to_html tab expansion.
svn path=/trunk/; revision=4905
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-html-utils.c2
2 files changed, 6 insertions, 1 deletions
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 <peterw@helixcode.com>
+
+ * 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, "&nbsp;");
out += 6;