diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-24 12:51:26 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-24 12:51:26 +0100 |
| commit | c1ba9f31ec3a1a53a1d257068f50a7be52f995c3 (patch) | |
| tree | 25daa86f749dea6536f0b952d9270317a9db4998 /fluid | |
| parent | b16309f13e732e566c1beb4a02a2165ebb3ab4ab (diff) | |
Fix two Visual Studio compiler warnings
+ fix trailing whitespace (fluid)
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Group_Type.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Fl_Group_Type.cxx b/fluid/Fl_Group_Type.cxx index 44b83e82b..37e0e8923 100644 --- a/fluid/Fl_Group_Type.cxx +++ b/fluid/Fl_Group_Type.cxx @@ -328,7 +328,7 @@ void Fl_Flex_Type::change_subtype_to(int n) { if (fw<=nc) fw = nc; // avoid division by zero int fh = f->h()-dh-tm-bm-(nc*gap); if (fh<=nc) fh = nc; // avoid division by zero - + if (f->type()==Fl_Flex::HORIZONTAL && n==Fl_Flex::VERTICAL) { float scl = (float)fh/(float)fw; for (int i=0; i<nc; i++) { |
