mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 08:00:24 +02:00
LCL, TreeView: use Max function from math unit
git-svn-id: trunk@35286 -
This commit is contained in:
parent
8f0a85a6c3
commit
3e4defab13
@ -4015,15 +4015,6 @@ begin
|
||||
end;
|
||||
|
||||
procedure TCustomTreeView.UpdateScrollbars;
|
||||
|
||||
function Max(i1, i2: integer): integer;
|
||||
begin
|
||||
if i1>i2 then
|
||||
Result:=i1
|
||||
else
|
||||
Result:=i2;
|
||||
end;
|
||||
|
||||
var
|
||||
ScrollInfo: TScrollInfo;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user