# HG changeset patch # User Eric Warmenhoven # Date 1005781334 0 # Node ID 757688c301b501cf4d5bb667e50de18834177327 # Parent 03bf072c623873eb904602b070d83ecf7601e60a [gaim-migrate @ 2731] eh. committer: Tailor Script diff -r 03bf072c6238 -r 757688c301b5 src/prpl.c --- a/src/prpl.c Wed Nov 14 19:21:20 2001 +0000 +++ b/src/prpl.c Wed Nov 14 23:42:14 2001 +0000 @@ -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;