Mercurial > pidgin
changeset 6775:272b67f33a1e
[gaim-migrate @ 7313]
fix a display bug, and a nasty bug with the buddies hashtable (i think)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 07 Sep 2003 06:53:06 +0000 |
parents | c4e3cc0693ab |
children | 46e1c07f4de5 |
files | src/blist.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blist.c Sun Sep 07 05:10:52 2003 +0000 +++ b/src/blist.c Sun Sep 07 06:53:06 2003 +0000 @@ -608,7 +608,7 @@ hb->name = normalize(buddy->name); hb->account = buddy->account; hb->group = bnode->parent->parent; - g_hash_table_remove(gaimbuddylist->buddies, &hb); + g_hash_table_remove(gaimbuddylist->buddies, hb); g_free(hb); } } @@ -772,6 +772,7 @@ } } + if(node && (GAIM_BLIST_NODE_IS_CONTACT(node) || GAIM_BLIST_NODE_IS_CHAT(node))) { if(node->next) @@ -797,6 +798,10 @@ if(ops && cnode->child) ops->update(gaimbuddylist, cnode); + + for(bnode = cnode->child; bnode; bnode = bnode->next) + ops->update(gaimbuddylist, bnode); + if (save) gaim_blist_save(); }