adium-1.4 3066:991108d968ad: Fix a syntax error.
commits at adium.im
commits at adium.im
Sat Sep 25 03:21:22 UTC 2010
details: http://hg.adium.im/adium-1.4/rev/991108d968ad
revision: 3066:991108d968ad
author: Zachary West <zacw at adium.im>
date: Fri Sep 24 23:21:10 2010 -0400
Fix a syntax error.
diffs (12 lines):
diff -r b25b0a269395 -r 991108d968ad Plugins/Dual Window Interface/AIMessageViewController.m
--- a/Plugins/Dual Window Interface/AIMessageViewController.m Fri Sep 24 23:10:32 2010 -0400
+++ b/Plugins/Dual Window Interface/AIMessageViewController.m Fri Sep 24 23:21:10 2010 -0400
@@ -1031,7 +1031,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