From a8d02f43e200c2ae7dac489ac2a12fb87ed0a3f7 Mon Sep 17 00:00:00 2001 From: Paul Baumgart Date: Sun, 26 Sep 2010 12:02:27 -0700 Subject: [PATCH] minor CPTableView clean-ups-- fix missing semi-colon, missing parameter type, and missing space --- AppKit/CPTableView.j | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 1ed78a316..d532cf4b1 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -3612,7 +3612,7 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey", [aCoder encodeInt:_gridStyleMask forKey:CPTableViewGridStyleMaskKey]; [aCoder encodeBool:_usesAlternatingRowBackgroundColors forKey:CPTableViewUsesAlternatingBackgroundKey]; - [aCoder encodeObject:[self alternatingRowBackgroundColors] forKey:CPTableViewAlternatingRowColorsKey] + [aCoder encodeObject:[self alternatingRowBackgroundColors] forKey:CPTableViewAlternatingRowColorsKey]; [aCoder encodeObject:_cornerView forKey:CPTableViewCornerViewKey]; [aCoder encodeObject:_headerView forKey:CPTableViewHeaderViewKey]; @@ -3622,10 +3622,10 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey", @implementation CPIndexSet (tableview) -- (void)removeMatches:otherSet +- (void)removeMatches:(CPIndexSet)otherSet { var firstindex = [self firstIndex]; - var index = MIN(firstindex,[otherSet firstIndex]); + var index = MIN(firstindex, [otherSet firstIndex]); var switchFlag = (index == firstindex); while(index != CPNotFound) {