Mercurial > pidgin
diff src/blist.c @ 11101:8b346ce5cdb8
[gaim-migrate @ 13140]
This fixes a crash when renaming a group causes a merge with an existing group. It is kind of hackish, but works.
committer: Tailor Script <tailor@pidgin.im>
| author | Daniel Atallah <daniel.atallah@gmail.com> |
|---|---|
| date | Wed, 13 Jul 2005 02:52:28 +0000 |
| parents | 2eca9ed49469 |
| children | 1c5398ccbeb0 |
line wrap: on
line diff
--- a/src/blist.c Wed Jul 13 01:16:58 2005 +0000 +++ b/src/blist.c Wed Jul 13 02:52:28 2005 +0000 @@ -1170,6 +1170,9 @@ cnode->parent->child = cnode->next; ops->remove(gaimbuddylist, cnode); + /* ops->remove() cleaned up the cnode's ui_data, so we need to + * reinitialize it */ + ops->new_node(cnode); gaim_blist_schedule_save(); }
