mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 19:19:09 +02:00
lclextensions package: fixed range check error.
This commit is contained in:
parent
80b7b1fa95
commit
b38335ac9a
@ -18,7 +18,7 @@ begin
|
||||
PPoint(@lpPoints)[i].x := XOffset + PPoint(@lpPoints)[i].x;
|
||||
PPoint(@lpPoints)[i].y := YOffset + PPoint(@lpPoints)[i].y;
|
||||
end;
|
||||
Result := MakeLong(XOffset, YOffset);
|
||||
Result := Integer(MakeLong(Word(XOffset), Word(YOffset)));
|
||||
end;
|
||||
|
||||
{$ifndef HAS_GETDOUBLECLICKTIME}
|
||||
|
Loading…
Reference in New Issue
Block a user