forked from MidnightCommander/mc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/filemanager/dir.c: minor sort optimization.
Get rid of sort condition double check. Condition ad == bd || panels_options.mix_all_files was checked twice: first in sort_xxx(), then in sort_name() called in sort_xxx(). Now this condition is checked in sort_xxx() only. Signed-off-by: Andrew Borodin <[email protected]>
- Loading branch information
Showing
1 changed file
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters