Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 5646:48c63ee49961
[gaim-migrate @ 6060]
The protocol drop-down menu now has protocol icons.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 02 Jun 2003 03:52:43 +0000 |
parents | 0bdfa28c678e |
children | 0a0116686d51 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun Jun 01 23:31:46 2003 +0000 +++ b/src/protocols/oscar/oscar.c Mon Jun 02 03:52:43 2003 +0000 @@ -5258,13 +5258,13 @@ static const char *oscar_list_icon(GaimAccount *a, struct buddy *b) { if (!b || (b && b->name && b->name[0] == '+')) { - if (isdigit(a->username[0])) + if (a != NULL && isdigit(*gaim_account_get_username(a))) return "icq"; else return "aim"; } - - if (isdigit(b->name[0])) + + if (b != NULL && isdigit(b->name[0])) return "icq"; return "aim"; }