comparison src/gtkconv.c @ 10101:6cbeca0e8f58

[gaim-migrate @ 11124] So important. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 15 Oct 2004 03:34:12 +0000
parents fad5d3354cc1
children f0100b414d98
comparison
equal deleted inserted replaced
10100:fad5d3354cc1 10101:6cbeca0e8f58
5222 g_snprintf(str, 1024, "%s:", who_escaped); 5222 g_snprintf(str, 1024, "%s:", who_escaped);
5223 if (flags & GAIM_MESSAGE_NICK) 5223 if (flags & GAIM_MESSAGE_NICK)
5224 strcpy(color, "#AF7F00"); 5224 strcpy(color, "#AF7F00");
5225 else if (flags & GAIM_MESSAGE_RECV) { 5225 else if (flags & GAIM_MESSAGE_RECV) {
5226 if (flags & GAIM_MESSAGE_COLORIZE) 5226 if (flags & GAIM_MESSAGE_COLORIZE)
5227 strcpy(color, g_str_hash(who) % NUM_NICK_COLORS); 5227 strcpy(color, nick_colors[g_str_hash(who) % NUM_NICK_COLORS]);
5228 else 5228 else
5229 strcpy(color, RECV_COLOR); 5229 strcpy(color, RECV_COLOR);
5230 } 5230 }
5231 else if (flags & GAIM_MESSAGE_SEND) 5231 else if (flags & GAIM_MESSAGE_SEND)
5232 strcpy(color, SEND_COLOR); 5232 strcpy(color, SEND_COLOR);