aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@helixcode.com>2000-12-13 16:52:53 +0800
committerLarry Ewing <lewing@src.gnome.org>2000-12-13 16:52:53 +0800
commit9fc3ed958a47482b419ce317c54b43b6b5779c49 (patch)
tree50b7d79cab70c4ac68918e60ecb65717c0a7e03b
parent956c2d74d40da95c42d82807e7f57e9379cffd4b (diff)
downloadgsoc2013-evolution-9fc3ed958a47482b419ce317c54b43b6b5779c49.tar
gsoc2013-evolution-9fc3ed958a47482b419ce317c54b43b6b5779c49.tar.gz
gsoc2013-evolution-9fc3ed958a47482b419ce317c54b43b6b5779c49.tar.bz2
gsoc2013-evolution-9fc3ed958a47482b419ce317c54b43b6b5779c49.tar.lz
gsoc2013-evolution-9fc3ed958a47482b419ce317c54b43b6b5779c49.tar.xz
gsoc2013-evolution-9fc3ed958a47482b419ce317c54b43b6b5779c49.tar.zst
gsoc2013-evolution-9fc3ed958a47482b419ce317c54b43b6b5779c49.zip
make sure we actually make enough space for "&nbsp;".
2000-12-13 Larry Ewing <lewing@helixcode.com> * e-html-utils.c (e_text_to_html): make sure we actually make enough space for "&nbsp;". svn path=/trunk/; revision=6964
-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 884c239624..fa3d554f78 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-13 Larry Ewing <lewing@helixcode.com>
+
+ * e-html-utils.c (e_text_to_html): make sure we actually make
+ enough space for "&nbsp;".
+
2000-12-08 Federico Mena Quintero <federico@helixcode.com>
* e-dialog-widgets.c (e_dialog_editable_get): Updated
diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c
index 7395f6144b..e63b233676 100644
--- a/e-util/e-html-utils.c
+++ b/e-util/e-html-utils.c
@@ -208,7 +208,7 @@ e_text_to_html (const char *input, unsigned int flags)
E_TEXT_TO_HTML_CONVERT_NL)) {
do {
out = check_size (&buffer, &buffer_size,
- out, 6);
+ out, 7);
strcpy (out, "&nbsp;");
out += 6;
col++;