mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-28 13:53:42 +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);
|
||||
{$ELSE}
|
||||
{$IFDEF CaseInsensitiveFilenames}
|
||||
Result:=AnsiCompareText(Filename1, Filename2);
|
||||
Result:=UTF8CompareText(Filename1, Filename2);
|
||||
{$ELSE}
|
||||
Result:=CompareStr(Filename1, Filename2);
|
||||
{$ENDIF}
|
||||
@ -144,7 +144,7 @@ begin
|
||||
CFRelease(F1);
|
||||
CFRelease(F2);
|
||||
{$ELSE}
|
||||
Result:=AnsiCompareText(Filename1, Filename2);
|
||||
Result:=UTF8CompareText(Filename1, Filename2);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user