Mercurial > pidgin
changeset 2718:757688c301b5
[gaim-migrate @ 2731]
eh.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 14 Nov 2001 23:42:14 +0000 |
parents | 03bf072c6238 |
children | 9747583279d1 |
files | src/prpl.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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;