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 ede4147b9f..da8181f420 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2000-10-25 Dan Winship <danw@helixcode.com> + + * e-html-utils.c (e_text_to_html): Deal properly with URLs at the + end of the buffer. (The old code would append a "�" to the + text.) + 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c (e_pilot_map_lookup_pid): Lookup a pid by uid. diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index ff23be5533..7395f6144b 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -156,6 +156,8 @@ e_text_to_html (const char *input, unsigned int flags) g_free (dispurl); } + if (!*cur) + break; unicode_get_utf8 (cur, &u); } if (u == (unicode_char_t)-1) { |