mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 12:48:17 +02:00
fixed TCustomSplitter.FindAlignControl
git-svn-id: trunk@9398 -
This commit is contained in:
parent
6402b88dda
commit
f7d5bd586d
@ -557,7 +557,7 @@ var
|
||||
procedure FindNearerControl(CurValue, Limit: integer);
|
||||
begin
|
||||
if (CurValue<=Limit)
|
||||
and ((Result=nil) or (BestValue>CurValue)) then begin
|
||||
and ((Result=nil) or (BestValue<CurValue)) then begin
|
||||
BestValue:=CurValue;
|
||||
Result:=CurControl;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user