X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fflexui%2Ffui_flexlay.pas;h=99a400f44f97c8317668554241c267caaad198f1;hb=00d0916c734ba21be4aa008b39dea80db7a419da;hp=fc6e93a46e1716382681c2b15784df259b5f1dce;hpb=4eb0c3143f39926323e44d590cae60131d11001e;p=d2df-sdl.git diff --git a/src/flexui/fui_flexlay.pas b/src/flexui/fui_flexlay.pas index fc6e93a..99a400f 100644 --- a/src/flexui/fui_flexlay.pas +++ b/src/flexui/fui_flexlay.pas @@ -368,7 +368,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