diff options
author | Dan Winship <danw@src.gnome.org> | 2002-02-23 03:57:17 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-02-23 03:57:17 +0800 |
commit | d7ea6022c14604e845edef89e61c253804273cba (patch) | |
tree | d8d4a7e2f3643712ac88268e0f146bce22c8a830 | |
parent | 843b7d2c827b7dfed4cec00f52d5ba676a58d551 (diff) | |
download | gsoc2013-evolution-d7ea6022c14604e845edef89e61c253804273cba.tar gsoc2013-evolution-d7ea6022c14604e845edef89e61c253804273cba.tar.gz gsoc2013-evolution-d7ea6022c14604e845edef89e61c253804273cba.tar.bz2 gsoc2013-evolution-d7ea6022c14604e845edef89e61c253804273cba.tar.lz gsoc2013-evolution-d7ea6022c14604e845edef89e61c253804273cba.tar.xz gsoc2013-evolution-d7ea6022c14604e845edef89e61c253804273cba.tar.zst gsoc2013-evolution-d7ea6022c14604e845edef89e61c253804273cba.zip |
Fix for if the buffer ends with an email address (and no newline).
* e-html-utils.c (e_text_to_html_full): Fix for if the buffer ends
with an email address (and no newline).
svn path=/trunk/; revision=15802
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-html-utils.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 080a62584e..f26db16308 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2002-02-22 Dan Winship <danw@ximian.com> + + * e-html-utils.c (e_text_to_html_full): Fix for if the buffer ends + with an email address (and no newline). + 2002-02-09 JP Rosevear <jpr@ximian.com> * e-pilot-settings.h: add row and column defines diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index ac8e7c6425..2b5e3d2d37 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -307,6 +307,8 @@ e_text_to_html_full (const char *input, unsigned int flags, guint32 color) g_free (dispaddr); g_free (outaddr); + if (!*cur) + break; u = g_utf8_get_char (cur); } } |