Reduce the scope of variables using to indexing single loop only.
And adjust their types if necessary (to have uniform types in the test expression).
This commit is contained in:
@@ -2267,10 +2267,9 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc,
|
||||
}
|
||||
|
||||
// Splitters
|
||||
unsigned int si;
|
||||
int sx = x;
|
||||
|
||||
for ( si = 0; si < colCount; si++ )
|
||||
for ( unsigned int si = 0; si < colCount; si++ )
|
||||
{
|
||||
sx += colWidths[si];
|
||||
dc.DrawLine( sx, y, sx, y2 );
|
||||
|
Reference in New Issue
Block a user