diff options
Diffstat (limited to 'FL/Fl_Table.H')
| -rw-r--r-- | FL/Fl_Table.H | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H index 80a96593c..94b249b4b 100644 --- a/FL/Fl_Table.H +++ b/FL/Fl_Table.H @@ -679,7 +679,8 @@ public: same value, in pixels. The screen is redrawn. */ void row_height_all(int height) { // set all row/col heights - for ( int r=0; r<rows(); r++ ) { + int r; + for (r =0; r<rows(); r++ ) { row_height(r, height); } } @@ -689,7 +690,8 @@ public: same value, in pixels. The screen is redrawn. */ void col_width_all(int width) { - for ( int c=0; c<cols(); c++ ) { + int c; + for (c =0; c<cols(); c++ ) { col_width(c, width); } } @@ -836,7 +838,8 @@ public: Typically used in loops, eg: \code - for ( int i=0; i<children(); i++ ) { + int i; + for (i =0; i<children(); i++ ) { Fl_Widget *w = child(i); [..] } |
