adium 3341:7aa2a7c20138: Fix a syntax error.

commits at adium.im commits at adium.im
Sat Sep 25 03:21:36 UTC 2010


details:	http://hg.adium.im/adium/rev/7aa2a7c20138
revision:	3341:7aa2a7c20138
author:		Zachary West <zacw at adium.im>
date:		Fri Sep 24 23:20:42 2010 -0400

Fix a syntax error.

diffs (12 lines):

diff -r aea3e06a68e5 -r 7aa2a7c20138 Plugins/Dual Window Interface/AIMessageViewController.m
--- a/Plugins/Dual Window Interface/AIMessageViewController.m	Fri Sep 24 23:19:47 2010 -0400
+++ b/Plugins/Dual Window Interface/AIMessageViewController.m	Fri Sep 24 23:20:42 2010 -0400
@@ -1035,7 +1035,7 @@
 		// Add to the list if it matches: (1) The display name for the chat (alias fallback to default display name), 
 		// (2) The UID, or (3) the display name
 		if ([[self.chat displayNameForContact:listContact] rangeOfString:partialWord options:(NSDiacriticInsensitiveSearch | NSCaseInsensitiveSearch | NSAnchoredSearch)].location != NSNotFound
-			|| [listContact.UID rangeOfString:partialWord options:(NSDiacriticInsensitiveSearch | NSCaseInsensitiveSearch | NSAnchoredSearch)].location != NSNotFound ||
+			|| [listContact.UID rangeOfString:partialWord options:(NSDiacriticInsensitiveSearch | NSCaseInsensitiveSearch | NSAnchoredSearch)].location != NSNotFound
 			|| [listContact.displayName rangeOfString:partialWord options:(NSDiacriticInsensitiveSearch | NSCaseInsensitiveSearch | NSAnchoredSearch)].location != NSNotFound) {
 			[contacts addObject:listContact];
 			AILogWithSignature(@"Added match %@ with nick %@; UID: %@; formattedUID: %@; displayName: %@", listContact, [self.chat aliasForContact:listContact], listContact.UID, listContact.formattedUID, listContact.displayName);




More information about the commits mailing list