mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-16 13:29:41 +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);
|
a := UTF8LowerCase(a);
|
||||||
b := UTF16ToUTF8(PWideChar(s2),length(s2));
|
b := UTF16ToUTF8(PWideChar(s2),length(s2));
|
||||||
b := UTF8LowerCase(b);
|
b := UTF8LowerCase(b);
|
||||||
result := UTF8CompareText(a,b);
|
result := UTF8CompareStr(a,b);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function CharLengthPChar(const Str: PChar): PtrInt;
|
function CharLengthPChar(const Str: PChar): PtrInt;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user