mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 18:11:33 +02:00
Use Utf8CompareText instead of AnsiCompare
git-svn-id: trunk@37769 -
This commit is contained in:
parent
1437af1b6f
commit
8f09d13055
@ -121,7 +121,7 @@ begin
|
|||||||
CFRelease(F2);
|
CFRelease(F2);
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
{$IFDEF CaseInsensitiveFilenames}
|
{$IFDEF CaseInsensitiveFilenames}
|
||||||
Result:=AnsiCompareText(Filename1, Filename2);
|
Result:=UTF8CompareText(Filename1, Filename2);
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
Result:=CompareStr(Filename1, Filename2);
|
Result:=CompareStr(Filename1, Filename2);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
@ -144,7 +144,7 @@ begin
|
|||||||
CFRelease(F1);
|
CFRelease(F1);
|
||||||
CFRelease(F2);
|
CFRelease(F2);
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
Result:=AnsiCompareText(Filename1, Filename2);
|
Result:=UTF8CompareText(Filename1, Filename2);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user