changeset 6975:a83687eeb713

[gaim-migrate @ 7528] more code I thought I wrote already committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 25 Sep 2003 22:14:36 +0000
parents fca04eebd2a7
children bb353268bb9e
files src/blist.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Thu Sep 25 20:23:41 2003 +0000
+++ b/src/blist.c	Thu Sep 25 22:14:36 2003 +0000
@@ -799,6 +799,9 @@
 	g_return_if_fail(contact != NULL);
 	g_return_if_fail(GAIM_BLIST_NODE_IS_CONTACT((GaimBlistNode*)contact));
 
+	if((GaimBlistNode*)contact == node)
+		return;
+
 	if(node && (GAIM_BLIST_NODE_IS_CONTACT(node) ||
 				GAIM_BLIST_NODE_IS_CHAT(node)))
 		g = (GaimGroup*)node->parent;