mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 07:59:45 +02:00
win32 interface: fixed range check error
git-svn-id: trunk@17113 -
This commit is contained in:
parent
119e8a249a
commit
fb9d5e8065
@ -678,7 +678,7 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TWin32WidgetSet.DCSetPixel(CanvasHandle: HDC; X, Y: integer; AColor: TGraphicsColor);
|
||||
begin
|
||||
Windows.SetPixel(CanvasHandle, X, Y, AColor);
|
||||
Windows.SetPixel(CanvasHandle, X, Y, Windows.ColorRef(AColor));
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user