Cocoa: Fix compilation.

This commit is contained in:
rich2014 2024-02-04 22:09:58 +08:00
parent c40823e236
commit 97154ac68c

View File

@ -1274,7 +1274,7 @@ end;
procedure TCocoaContext.SetFont(const AValue: TCocoaFont);
begin
if TCocoaGDIObject.UpdateRefs(FFont, AValue) then
if TCocoaGDIObject.UpdateRefs(FFont, AValue) then begin
FFont := AValue;
end;
end;