Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
5645:a9cd11fd0d6f | 5646:48c63ee49961 |
---|---|
5256 return 0; | 5256 return 0; |
5257 } | 5257 } |
5258 | 5258 |
5259 static const char *oscar_list_icon(GaimAccount *a, struct buddy *b) { | 5259 static const char *oscar_list_icon(GaimAccount *a, struct buddy *b) { |
5260 if (!b || (b && b->name && b->name[0] == '+')) { | 5260 if (!b || (b && b->name && b->name[0] == '+')) { |
5261 if (isdigit(a->username[0])) | 5261 if (a != NULL && isdigit(*gaim_account_get_username(a))) |
5262 return "icq"; | 5262 return "icq"; |
5263 else | 5263 else |
5264 return "aim"; | 5264 return "aim"; |
5265 } | 5265 } |
5266 | 5266 |
5267 if (isdigit(b->name[0])) | 5267 if (b != NULL && isdigit(b->name[0])) |
5268 return "icq"; | 5268 return "icq"; |
5269 return "aim"; | 5269 return "aim"; |
5270 } | 5270 } |
5271 | 5271 |
5272 static void oscar_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne) | 5272 static void oscar_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne) |