lcl: TControlScrollBar: fixed range check

git-svn-id: trunk@45536 -
This commit is contained in:
mattias 2014-06-15 14:39:02 +00:00
parent fa64855707
commit df78add6dd

View File

@ -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;