mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Bug [0001296] "Sorting by file type cannot be reversed"
This commit is contained in:
parent
56a1b37ebc
commit
eefc03e33c
1 changed files with 5 additions and 2 deletions
|
|
@ -683,8 +683,11 @@ begin
|
|||
fsfNameNoExtension:
|
||||
Result := ICompareByNameNoExt(File1, File2, bNegative);
|
||||
fsfType:
|
||||
Result := mbCompareText(File1.TypeProperty.Value,
|
||||
File2.TypeProperty.Value);
|
||||
begin
|
||||
Result := mbCompareText(File1.TypeProperty.Value,
|
||||
File2.TypeProperty.Value);
|
||||
if bNegative then Result := -Result;
|
||||
end;
|
||||
end;
|
||||
|
||||
if Result <> 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue