LazUtils, Translations unit: fixed compilation on 32-bit Darwin as reported on forum:

https://forum.lazarus.freepascal.org/index.php/topic,65612.msg500834.html#msg500834
This commit is contained in:
Maxim Ganetsky 2023-12-31 20:19:31 +03:00
parent 1b5087853e
commit beb17ad4d7

View File

@ -249,7 +249,7 @@ end;
function ComparePOItems(Item1, Item2: Pointer): Integer;
begin
Result := CompareText(TPOFileItem(Item1).IdentifierLow,
Result := SysUtils.CompareText(TPOFileItem(Item1).IdentifierLow,
TPOFileItem(Item2).IdentifierLow);
end;
@ -850,7 +850,7 @@ end;
procedure TPOFile.SetCharSet(const AValue: String);
begin
if (CompareText(FCharSet, AValue) = 0) then Exit;
if (SysUtils.CompareText(FCharSet, AValue) = 0) then Exit;
if (AValue = '') then FCharSet := 'UTF-8'
else FCharSet := AValue;
end;