cocoa: fix the rangecheck error for aarch64. Patch by C Western. bug #38446

git-svn-id: trunk@65352 -
This commit is contained in:
dmitry 2021-07-03 01:05:05 +00:00
parent 0e0ef8c3ca
commit 7930dc2236

View File

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