src/list.c

changeset 5056
7f76bbf81757
parent 5055
54134ca3c5a4
child 5068
0d4c4df65dd0
--- a/src/list.c	Mon Apr 07 04:36:59 2003 +0000
+++ b/src/list.c	Mon Apr 07 04:49:04 2003 +0000
@@ -384,8 +384,8 @@
 		return;
 	}
 
-	if(node->parent && node->parent->child == node)
-		node->parent->child = node->next;
+	if(gaimbuddylist->root == node)
+		gaimbuddylist->root = node->next;
 	if (node->prev)
 		node->prev->next = node->next;
 	if (node->next)

mercurial