# HG changeset patch # User Mark Doliner # Date 1250792021 0 # Node ID 6b446431b2b0f951cc35c9d7b9a7f8f7b3c1b144 # Parent 69793158765c7e6a9c939d302f20669a2213c07b This function no longer needs these two parameters diff -r 69793158765c -r 6b446431b2b0 libpurple/protocols/yahoo/util.c --- a/libpurple/protocols/yahoo/util.c Thu Aug 20 16:15:00 2009 +0000 +++ b/libpurple/protocols/yahoo/util.c Thu Aug 20 18:13:41 2009 +0000 @@ -691,8 +691,8 @@ } } -static void parse_font_tag(const char *src, GString *dest, const char *tag_name, const char *tag, - int src_len, GSList **colors, GSList **tags) +static void parse_font_tag(GString *dest, const char *tag_name, const char *tag, + GSList **colors, GSList **tags) { const char *start; const char *end; @@ -834,7 +834,7 @@ j = end - src + 3; } else if (g_str_equal(tag_name, "font")) { - parse_font_tag(src, dest, tag_name, tag, src_len, &colors, &tags); + parse_font_tag(dest, tag_name, tag, &colors, &tags); } else if (g_str_equal(tag_name, "b")) { g_string_append(dest, "\033[1m"); current_state.bold = TRUE;