--- a/src/protocols/yahoo/util.c Wed Oct 12 02:47:31 2005 +0000 +++ b/src/protocols/yahoo/util.c Wed Oct 12 04:02:46 2005 +0000 @@ -100,8 +100,6 @@ return g_strdup(""); } - - /* * I found these on some website but i don't know that they actually * work (or are supposed to work). I didn't implement them yet. @@ -122,10 +120,8 @@ * (shift+comma)lyellow(shift+period) ---light yellow * (shift+comma)lgreen(shift+period) ---light green [2;30m <--white out - */ - static GHashTable *ht = NULL; void yahoo_init_colorht() @@ -157,7 +153,6 @@ g_hash_table_insert(ht, "l", ""); /* link start */ g_hash_table_insert(ht, "xl", ""); /* link end */ - g_hash_table_insert(ht, "<black>", "<FONT COLOR=\"#000000\">"); g_hash_table_insert(ht, "<blue>", "<FONT COLOR=\"#0000FF\">"); g_hash_table_insert(ht, "<cyan>", "<FONT COLOR=\"#008284\">"); @@ -283,7 +278,6 @@ } } - } else if (!nomoreendtags && (x[i] == '<')) { j = i; @@ -325,8 +319,6 @@ } - - } else { if (x[i] == '<') g_string_append(s, "<"); @@ -476,8 +468,6 @@ if (src[m] == ' ') *j = m; - - if (src[m] == '>') { gboolean needendtag = 0; fontattr *f; @@ -560,10 +550,8 @@ GQueue *ftattr = NULL; gboolean no_more_specials = FALSE; - colors = g_queue_new(); tags = g_queue_new(); - dest = g_string_sized_new(strlen(src)); for (i = 0, len = strlen(src); i < len; i++) {