mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 19:20:38 +02:00
LazUtils: Optimize function CompareFormatArgs in unit Translations.
This commit is contained in:
parent
db95c28df7
commit
26547663f2
@ -441,7 +441,7 @@ begin
|
||||
if (ArgErr1 = 0) and (ArgErr2 <> 0) then
|
||||
Result := false
|
||||
else
|
||||
Result := UTF8CompareLatinTextFast(Extr1, Extr2) = 0;
|
||||
Result := Extr1 = Extr2; // Format Args are case sensitive.
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user