pidgin: 9b09135c: This function no longer needs these two ...

markdoliner at pidgin.im markdoliner at pidgin.im
Thu Aug 20 14:22:06 EDT 2009


-----------------------------------------------------------------
Revision: 9b09135cf7cd0b5af42c084e3df644e12ca01a06
Ancestor: 3bdd97c1397f80176defb2c6296e46a61bb93121
Author: markdoliner at pidgin.im
Date: 2009-08-20T18:13:41
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9b09135cf7cd0b5af42c084e3df644e12ca01a06

Modified files:
        libpurple/protocols/yahoo/util.c

ChangeLog: 

This function no longer needs these two parameters

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/util.c	93fd2a4ca9778a639d423396b7b9599f6aeb0083
+++ libpurple/protocols/yahoo/util.c	05b35b77b7534019820b45088ffa9b302cdf9247
@@ -691,8 +691,8 @@ static void yahoo_htc_list_cleanup(GSLis
 	}
 }
 
-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 @@ char *yahoo_html_to_codes(const char *sr
 						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;


More information about the Commits mailing list