X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fflexui%2Ffui_flexlay.pas;h=99a400f44f97c8317668554241c267caaad198f1;hb=e33d969e9c2e1b73d2a5ea2e9a3181b21d096687;hp=fc6e93a46e1716382681c2b15784df259b5f1dce;hpb=daf9eff73e0fcfea6b846daebd5732cceb699e43;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