mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 10:37:14 +01:00
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:
parent
1b5087853e
commit
beb17ad4d7
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user