lclextensions package: fixed range check error.

This commit is contained in:
zeljan1 2025-01-23 18:58:54 +01:00
parent 80b7b1fa95
commit b38335ac9a

View File

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