Mercurial > pidgin.yaz
changeset 11873:346bd669c8f2
[gaim-migrate @ 14164]
some error prevention from Casey Harkins. see patch 1340762
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 28 Oct 2005 15:43:15 +0000 |
parents | ea0f39933003 |
children | f3a0cefa8e35 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Fri Oct 28 14:12:07 2005 +0000 +++ b/src/protocols/oscar/oscar.c Fri Oct 28 15:43:15 2005 +0000 @@ -7519,13 +7519,13 @@ if (userinfo != NULL ) { /* if (userinfo->flags & AIM_FLAG_UNCONFIRMED) emblems[i++] = "unconfirmed"; */ - if (userinfo->flags & AIM_FLAG_ADMINISTRATOR) + if ((i < 4) && userinfo->flags & AIM_FLAG_ADMINISTRATOR) emblems[i++] = "admin"; - if (userinfo->flags & AIM_FLAG_AOL) + if ((i < 4) && userinfo->flags & AIM_FLAG_AOL) emblems[i++] = "aol"; - if (userinfo->flags & AIM_FLAG_WIRELESS) + if ((i < 4) && userinfo->flags & AIM_FLAG_WIRELESS) emblems[i++] = "wireless"; - if (userinfo->flags & AIM_FLAG_ACTIVEBUDDY) + if ((i < 4) && userinfo->flags & AIM_FLAG_ACTIVEBUDDY) emblems[i++] = "activebuddy"; if ((i < 4) && (userinfo->capabilities & AIM_CAPS_HIPTOP))