Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv11018
Modified Files:
prpl.c
Log Message:
eh.
Index: prpl.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/prpl.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- prpl.c 2001/11/02 01:41:37 1.46
+++ prpl.c 2001/11/14 23:42:14 1.47
@@ -470,7 +470,7 @@
void set_icon_data(struct gaim_connection *gc, char *who, void *data, int len)
{
- struct icon_data tmp = { gc, who, NULL, 0 };
+ struct icon_data tmp = { gc, normalize(who), NULL, 0 };
GList *l = g_list_find_custom(icons, &tmp, find_icon_data);
struct icon_data *id = l ? l->data : NULL;
@@ -486,7 +486,7 @@
id = g_new0(struct icon_data, 1);
icons = g_list_append(icons, id);
id->gc = gc;
- id->who = g_strdup(who);
+ id->who = g_strdup(normalize(who));
} else {
return;
}
@@ -518,7 +518,7 @@
void *get_icon_data(struct gaim_connection *gc, char *who, int *len)
{
- struct icon_data tmp = { gc, who, NULL, 0 };
+ struct icon_data tmp = { gc, normalize(who), NULL, 0 };
GList *l = g_list_find_custom(icons, &tmp, find_icon_data);
struct icon_data *id = l ? l->data : NULL;
|