DEADSOFTWARE

changed license to GPLv3 only; sorry, no trust to FSF anymore
[d2df-sdl.git] / src / flexui / fui_flexlay.pas
index fc6e93a46e1716382681c2b15784df259b5f1dce..4bf7ce791a7ba5ebfe8eeec21dc212f92dc32686 100644 (file)
@@ -3,8 +3,7 @@
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation, version 3 of the License ONLY.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -368,7 +367,7 @@ begin
   // if control is only one in a group, mark is as "not grouped"
   for gidx := 0 to 1 do
   begin
-    if (gidx = 0) then gflg := not LongWord(FlagInGroupH) else gflg := not LongWord(FlagInGroupV);
+    if (gidx = 0) then gflg := LongWord(not FlagInGroupH) else gflg := LongWord(not FlagInGroupV);
     f := 0;
     while (f < Length(groups[gidx])) do
     begin