From ca6c1c71ef635f69dda0f44e13420a38d2dfe4cb Mon Sep 17 00:00:00 2001 From: Riccardo Mottola Date: Fri, 17 Jan 2020 00:01:14 +0100 Subject: [PATCH] minor fix, gcc9 didn't like that declaration --- Palettes/2Controls/GormMatrixAttributesInspector.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Palettes/2Controls/GormMatrixAttributesInspector.m b/Palettes/2Controls/GormMatrixAttributesInspector.m index 8e468ae5..d0092360 100644 --- a/Palettes/2Controls/GormMatrixAttributesInspector.m +++ b/Palettes/2Controls/GormMatrixAttributesInspector.m @@ -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];