changeset 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
files src/list.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/list.c	Tue Apr 01 03:19:51 2003 +0000
+++ b/src/list.c	Tue Apr 01 03:27:50 2003 +0000
@@ -284,6 +284,9 @@
 		return;
 	}
 
+	/* if we're moving to overtop of ourselves, do nothing */
+	if((GaimBlistNode*)group == node)
+		return;
 
 	if (!node)
 		node = gaim_blist_get_last_sibling(gaimbuddylist->root);