adium 2371:535579983110: Patch from yelly to fix a few CodingSty...
commits at adium.im
commits at adium.im
Thu May 28 15:53:07 UTC 2009
details: http://hg.adium.im/adium/rev/535579983110
revision: 2371:535579983110
author: Zachary West <zacw at adium.im>
date: Thu May 28 11:53:00 2009 -0400
Patch from yelly to fix a few CodingStyle violations from 6ac7f22.
diffstat:
Source/CBContactCountingDisplayPlugin.m | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 972dba296168 -r 535579983110 Source/CBContactCountingDisplayPlugin.m
--- a/Source/CBContactCountingDisplayPlugin.m Thu May 28 11:30:04 2009 -0400
+++ b/Source/CBContactCountingDisplayPlugin.m Thu May 28 11:53:00 2009 -0400
@@ -145,15 +145,14 @@
* If the number of online objects is the same as the number of total objects, just display one number.
* If the group is the offline group, just display the number of total objects if we should.
*/
- if (countOnlineObjects && countAllObjects && (onlineObjects != totalObjects) && (inGroup!=adium.contactController.offlineGroup)) {
+ if (countOnlineObjects && countAllObjects && (onlineObjects != totalObjects) && (inGroup != adium.contactController.offlineGroup)) {
countString = [NSString stringWithFormat:AILocalizedString(@"%lu of %lu", "Used in the display for the contact list for the number of online contacts out of the number of total contacts"),
onlineObjects, totalObjects];
} else if (countAllObjects) {
countString = [NSString stringWithFormat:@"%lu", totalObjects];
- } else if (inGroup!=adium.contactController.offlineGroup) {
+ } else if (inGroup != adium.contactController.offlineGroup) {
countString = [NSString stringWithFormat:@"%lu", onlineObjects];
- }
- else {
+ } else {
countString = [NSString stringWithString:@""];
}
More information about the commits
mailing list