[zephyrchat-cvs] zchat/zChat ZChatFriendViewController.mm,1.22,1.23
Status: Alpha
Brought to you by:
akosut
|
From: <ak...@us...> - 2003-04-30 19:29:36
|
Update of /cvsroot/zephyrchat/zchat/zChat
In directory sc8-pr-cvs1:/tmp/cvs-serv6711
Modified Files:
ZChatFriendViewController.mm
Log Message:
Correctly use existing window when double-clicking a friend in the friends
list.
Index: ZChatFriendViewController.mm
===================================================================
RCS file: /cvsroot/zephyrchat/zchat/zChat/ZChatFriendViewController.mm,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- ZChatFriendViewController.mm 9 Apr 2003 15:51:39 -0000 1.22
+++ ZChatFriendViewController.mm 30 Apr 2003 19:29:32 -0000 1.23
@@ -223,12 +223,11 @@
if ([ZChatApp mgr] == NULL) return;
ZQuad subscribe_to("message", "*", [ZChatApp mgr]->GetUserName(), [_user stlString]);
- ZQuad chat_with("message", "*", [_user stlString], [ZChatApp mgr]->GetUserName());
ZCChatWindowController *controller = nil;
NSEnumerator *e = [[ZCChatWindowController windowControllers] objectEnumerator];
while ((controller = [e nextObject]) != nil) {
- if ([controller isAppropriateForChatWith:chat_with])
+ if ([controller isAppropriateForChatWith:subscribe_to])
break;
}
|