mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 20:41:16 +02:00
cocoa: fix the rangecheck error for aarch64. Patch by C Western. bug #38446
git-svn-id: trunk@65352 -
This commit is contained in:
parent
0e0ef8c3ca
commit
7930dc2236
@ -2554,7 +2554,7 @@ begin
|
||||
ctx := CheckDC(DC);
|
||||
if Assigned(ctx) then
|
||||
begin
|
||||
Result := ctx.TextColor;
|
||||
Result := TColorRef(ctx.TextColor);
|
||||
ctx.TextColor := TColor(Color);
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user