* Fixed possible range overflow
This commit is contained in:
parent
940e81f123
commit
5ac13430be
|
@ -1588,7 +1588,7 @@ begin
|
||||||
end
|
end
|
||||||
else if FShortCuts[0] <> nil then
|
else if FShortCuts[0] <> nil then
|
||||||
begin
|
begin
|
||||||
stepSize := FCount div 10;
|
stepSize := FCount div 10 + 1;
|
||||||
nextStep := stepSize;
|
nextStep := stepSize;
|
||||||
step := 0;
|
step := 0;
|
||||||
shortcut := 1;
|
shortcut := 1;
|
||||||
|
|
Loading…
Reference in New Issue