mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 13:59:35 +01:00
LazUtils: PasWString: fix infinite recursion in WideCompareText.
git-svn-id: trunk@52076 -
This commit is contained in:
parent
9aab2a374d
commit
9ea2b541f4
@ -179,7 +179,7 @@ begin
|
||||
a := UTF8LowerCase(a);
|
||||
b := UTF16ToUTF8(PWideChar(s2),length(s2));
|
||||
b := UTF8LowerCase(b);
|
||||
result := UTF8CompareText(a,b);
|
||||
result := UTF8CompareStr(a,b);
|
||||
end;
|
||||
|
||||
function CharLengthPChar(const Str: PChar): PtrInt;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user