changeset 13732:79720436df40

[gaim-migrate @ 16143] Fix another one of those assertion warnings. This also probably makes font tags from iChat work correctly. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 07 May 2006 18:28:32 +0000
parents e27f42866854
children 0ab02f082333
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun May 07 18:19:02 2006 +0000
+++ b/src/protocols/oscar/oscar.c	Sun May 07 18:28:32 2006 +0000
@@ -1859,7 +1859,7 @@
 	GString *message;
 	gchar *tmp;
 	aim_mpmsg_section_t *curpart;
-	const char *start;
+	const char *start, *end;
 	GData *attribs;
 
 	gaim_debug_misc("oscar", "Received IM from %s with %d parts\n",
@@ -1955,7 +1955,7 @@
 	/*
 	 * Convert iChat color tags to normal font tags.
 	 */
-	if (gaim_markup_find_tag("body", tmp, &start, NULL, &attribs))
+	if (gaim_markup_find_tag("body", tmp, &start, &end, &attribs))
 	{
 		const char *ichattextcolor, *ichatballooncolor;