mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 03:48:27 +02:00
lcl: TControlScrollBar: fixed range check
git-svn-id: trunk@45536 -
This commit is contained in:
parent
fa64855707
commit
df78add6dd
@ -247,7 +247,7 @@ begin
|
||||
// I am not positive that this is right, but it appeared to be when I
|
||||
// compared results to Delphi 4
|
||||
if FSmooth then
|
||||
FIncrement := FPage div 10;
|
||||
FIncrement := Max(low(FIncrement),FPage div 10);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user