Ignore case when sorting file bases in UNIX
This commit is contained in:
parent
152cf69383
commit
7e25a22a71
|
@ -168,11 +168,7 @@ Begin
|
|||
While Not Eof(FDirFile) Do Begin
|
||||
Read (FDirFile, FDir);
|
||||
If (FDir.Flags AND FDirDeleted = 0) Then
|
||||
{$IFDEF FS_SENSITIVE}
|
||||
SortList.Add(FDir.FileName, FilePos(FDirFile) - 1);
|
||||
{$ELSE}
|
||||
SortList.Add(strUpper(FDir.FileName), FilePos(FDirFile) - 1);
|
||||
{$ENDIF}
|
||||
SortList.Add(strUpper(FDir.FileName), FilePos(FDirFile) - 1);
|
||||
End;
|
||||
|
||||
SortList.Sort(1, SortList.Total, qAscending);
|
||||
|
|
Loading…
Reference in New Issue