changeset 28028:6b446431b2b0

This function no longer needs these two parameters
author Mark Doliner <mark@kingant.net>
date Thu, 20 Aug 2009 18:13:41 +0000
parents 69793158765c
children 288ec4628f63 2a6f0c2460ae
files libpurple/protocols/yahoo/util.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;