Deal properly with URLs at the end of the buffer. (The old code would

* 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.)

svn path=/trunk/; revision=6169
This commit is contained in:
Dan Winship
2000-10-25 16:07:20 +00:00
parent 9dcf5fdde9
commit 0b2c3f424b
2 changed files with 8 additions and 0 deletions

View File

@ -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 "&#0;" 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.

View File

@ -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) {