Mercurial > pidgin
comparison src/list.c @ 4937:4228bddbf2cd
[gaim-migrate @ 5271]
fix drag-a-group-on-top-of-itself hang
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 01 Apr 2003 03:27:50 +0000 |
parents | cfeab08d4be9 |
children | 461e8c89514f |
comparison
equal
deleted
inserted
replaced
4936:cfeab08d4be9 | 4937:4228bddbf2cd |
---|---|
282 if (!gaimbuddylist->root) { | 282 if (!gaimbuddylist->root) { |
283 gaimbuddylist->root = (GaimBlistNode*)group; | 283 gaimbuddylist->root = (GaimBlistNode*)group; |
284 return; | 284 return; |
285 } | 285 } |
286 | 286 |
287 /* if we're moving to overtop of ourselves, do nothing */ | |
288 if((GaimBlistNode*)group == node) | |
289 return; | |
287 | 290 |
288 if (!node) | 291 if (!node) |
289 node = gaim_blist_get_last_sibling(gaimbuddylist->root); | 292 node = gaim_blist_get_last_sibling(gaimbuddylist->root); |
290 | 293 |
291 if (gaim_find_group(group->name)) { | 294 if (gaim_find_group(group->name)) { |