# HG changeset patch # User Mark Doliner # Date 1147026512 0 # Node ID 79720436df404f3646bc751a1f83f649ce94ff88 # Parent e27f428668546fc78b33764a6670df34d4044f08 [gaim-migrate @ 16143] Fix another one of those assertion warnings. This also probably makes font tags from iChat work correctly. committer: Tailor Script diff -r e27f42866854 -r 79720436df40 src/protocols/oscar/oscar.c --- 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;