diff src/list.c @ 5056:18ec87e54201

[gaim-migrate @ 5407] forgot this committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 07 Apr 2003 04:49:04 +0000
parents 5b1d70deda02
children b37d7d09ec83
line wrap: on
line diff
--- 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)