Mercurial > pidgin
diff src/blist.c @ 6975:a83687eeb713
[gaim-migrate @ 7528]
more code I thought I wrote already
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Thu, 25 Sep 2003 22:14:36 +0000 |
| parents | d4b4229bcd21 |
| children | 7db9b3020345 |
line wrap: on
line diff
--- a/src/blist.c Thu Sep 25 20:23:41 2003 +0000 +++ b/src/blist.c Thu Sep 25 22:14:36 2003 +0000 @@ -799,6 +799,9 @@ g_return_if_fail(contact != NULL); g_return_if_fail(GAIM_BLIST_NODE_IS_CONTACT((GaimBlistNode*)contact)); + if((GaimBlistNode*)contact == node) + return; + if(node && (GAIM_BLIST_NODE_IS_CONTACT(node) || GAIM_BLIST_NODE_IS_CHAT(node))) g = (GaimGroup*)node->parent;
