diff pidgin/gtkblist.c @ 28452:336d03cdced6

merged with im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 27 Aug 2009 02:37:46 +0900
parents 4a2adf413aaa 572073acf8e7
children 493f48f8d17f
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Mon Aug 24 17:20:46 2009 +0900
+++ b/pidgin/gtkblist.c	Thu Aug 27 02:37:46 2009 +0900
@@ -506,10 +506,12 @@
 
 		type = purple_blist_node_get_type(node);
 
-		if(type == PURPLE_BLIST_BUDDY_NODE)
+		if (type == PURPLE_BLIST_BUDDY_NODE) {
 			node = purple_blist_node_get_parent(node);
-
-		if(type == PURPLE_BLIST_CONTACT_NODE)
+			type = purple_blist_node_get_type(node);
+		}
+
+		if (type != PURPLE_BLIST_CONTACT_NODE)
 			continue;
 
 		for (b = purple_blist_node_get_first_child(node);