warnings--; miscellaneous other cleanup

This commit is contained in:
Mitchell Livingston
2009-01-06 02:07:55 +00:00
parent 28ce3a64e8
commit cd7b38e007
4 changed files with 12 additions and 12 deletions

View File

@@ -233,9 +233,9 @@
if (!fAttributes)
fAttributes = [[[[column dataCell] attributedStringValue] attributesAtIndex: 0 effectiveRange: NULL] retain];
CGFloat count = floorf([[[fMessages objectAtIndex: row] objectForKey: @"Message"] sizeWithAttributes: fAttributes].width
/ [column width]);
return [tableView rowHeight] * (count + 1.0f);
const CGFloat count = floorf([[[fMessages objectAtIndex: row] objectForKey: @"Message"] sizeWithAttributes: fAttributes].width
/ [column width]);
return [tableView rowHeight] * (count + 1.0);
}
- (void) tableView: (NSTableView *) tableView sortDescriptorsDidChange: (NSArray *) oldDescriptors