# HG changeset patch # User Nathan Walp # Date 1062917586 0 # Node ID 272b67f33a1e647a00a091c7f45043899c37fe2e # Parent c4e3cc0693ab9cf19946f37d1fb46190a7755aa5 [gaim-migrate @ 7313] fix a display bug, and a nasty bug with the buddies hashtable (i think) committer: Tailor Script diff -r c4e3cc0693ab -r 272b67f33a1e src/blist.c --- 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(); }