minor fix, gcc9 didn't like that declaration

This commit is contained in:
Riccardo Mottola 2020-01-17 00:01:14 +01:00
parent e0b9fca877
commit ca6c1c71ef

View file

@ -148,9 +148,11 @@ NSUInteger colsStepperValue;
NSButtonCell *cell;
NSInteger tag;
NSString *title;
for (int c = 0; c < [object numberOfColumns]; c++)
int c;
for (c = 0; c < [object numberOfColumns]; c++)
{
for (int r = 0; r < [object numberOfRows]; r++)
int r;
for (r = 0; r < [object numberOfRows]; r++)
{
cell = [object cellAtRow: r column: c];
tag = [cell tag];