move a lot of loop counters into the loops' scopes; trivial changes

This commit is contained in:
Mitchell Livingston
2008-10-12 21:38:13 +00:00
parent b2f1937074
commit 9d5430a381
10 changed files with 75 additions and 116 deletions

View File

@@ -139,11 +139,9 @@
if (visibleRows.length == 0)
return;
int col = [self columnWithIdentifier: @"Priority"];
NSPoint mouseLocation = [self convertPoint: [[self window] convertScreenToBase: [NSEvent mouseLocation]] fromView: nil];
int row;
for (row = visibleRows.location; row < NSMaxRange(visibleRows); row++)
for (NSInteger row = visibleRows.location, col = [self columnWithIdentifier: @"Priority"]; row < NSMaxRange(visibleRows); row++)
{
FilePriorityCell * cell = (FilePriorityCell *)[self preparedCellAtColumn: col row: row];