src/protocols/yahoo/util.c

changeset 6621
2a18ef3e5224
parent 6546
6a14dfe43d5c
child 6629
9d6bbc91ba24
equal deleted inserted replaced
6620:0df472b1b7ff 6621:2a18ef3e5224
126 while (j++ < xs) { 126 while (j++ < xs) {
127 if (x[j] != 'm') 127 if (x[j] != 'm')
128 continue; 128 continue;
129 else { 129 else {
130 tmp = g_string_new_len(x + i + 2, j - i - 2); 130 tmp = g_string_new_len(x + i + 2, j - i - 2);
131 if ((tmp->str[0] == '#')) 131 if (tmp->str[0] == '#')
132 g_string_append_printf(s, "<FONT COLOR=\"%s\">", tmp->str); 132 g_string_append_printf(s, "<FONT COLOR=\"%s\">", tmp->str);
133 else if ((match = (char *) g_hash_table_lookup(ht, tmp->str))) 133 else if ((match = (char *) g_hash_table_lookup(ht, tmp->str)))
134 g_string_append(s, match); 134 g_string_append(s, match);
135 else { 135 else {
136 gaim_debug(GAIM_DEBUG_ERROR, "yahoo", 136 gaim_debug(GAIM_DEBUG_ERROR, "yahoo",

mercurial