diff src/conversation.c @ 4478:fa2d74e20a89

[gaim-migrate @ 4753] grp2 is already defined in the windows header file, so I renamed it. Also, we're now opening buddy icon files for writing with "wb" instead of "w". Thanks Herman. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 30 Jan 2003 19:24:48 +0000
parents 62c1e5e656d0
children b30b0a02ada0
line wrap: on
line diff
--- a/src/conversation.c	Thu Jan 30 18:55:17 2003 +0000
+++ b/src/conversation.c	Thu Jan 30 19:24:48 2003 +0000
@@ -2084,7 +2084,7 @@
 			struct gaim_window *win2;
 			struct gaim_conversation *conv2;
 			struct buddy *b2;
-			struct group *grp2 = NULL;
+			struct group *g2 = NULL;
 
 			win2 = (struct gaim_window *)wins->data;
 
@@ -2098,9 +2098,9 @@
 								gaim_conversation_get_name(conv2));
 
 				if (b2 != NULL)
-					grp2 = find_group_by_buddy(b2);
-
-				if (grp == grp2) {
+					g2 = find_group_by_buddy(b2);
+
+				if (grp == g2) {
 					gaim_window_add_conversation(win2, conv);
 
 					return;