UPD: 'Mac OS X' to 'macOS' in About Dialog

(cherry picked from commit 5275b991f4)
This commit is contained in:
rich2014 2025-10-24 21:35:33 +08:00 committed by Alexander Koblov
commit 2c9db300ee

View file

@ -278,7 +278,7 @@ begin
if (Gestalt(gestaltSystemVersionMajor, versionMajor) <> noErr) then Exit;
if (Gestalt(gestaltSystemVersionMinor, versionMinor) <> noErr) then Exit;
if (Gestalt(gestaltSystemVersionBugFix, versionBugFix) <> noErr) then Exit;
Result:= Format('Mac OS X %d.%d.%d', [versionMajor, versionMinor, versionBugFix]);
Result:= Format('macOS %d.%d.%d', [versionMajor, versionMinor, versionBugFix]);
end;
{$ENDIF}