# HG changeset patch # User Nathan Walp # Date 1062594487 0 # Node ID b4943b9cea2b9bec036ce1dfc093165fa981b161 # Parent 39ad4e23a115e930845e1fcf930c273bbbad4abc [gaim-migrate @ 7258] No more buddy list weird duplication when dragging the first contact in a group committer: Tailor Script diff -r 39ad4e23a115 -r b4943b9cea2b src/blist.c --- a/src/blist.c Wed Sep 03 12:46:05 2003 +0000 +++ b/src/blist.c Wed Sep 03 13:08:07 2003 +0000 @@ -704,11 +704,8 @@ cnode = (GaimBlistNode*)contact; if(cnode->parent) { - - ops->remove(gaimbuddylist, cnode); - - if(gnode->child == cnode) - gnode->child = cnode->next; + if(cnode->parent->child == cnode) + cnode->parent->child = cnode->next; if(cnode->prev) cnode->prev->next = cnode->next; if(cnode->next) @@ -721,6 +718,8 @@ ((GaimGroup*)cnode->parent)->currentsize--; ((GaimGroup*)cnode->parent)->totalsize--; + ops->remove(gaimbuddylist, cnode); + save = TRUE; }