diff options
Diffstat (limited to 'ui/sorting.h')
-rw-r--r-- | ui/sorting.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/sorting.h b/ui/sorting.h index e65344e6..04ecc171 100644 --- a/ui/sorting.h +++ b/ui/sorting.h @@ -72,7 +72,8 @@ bool sortByFileName(const FileSystemObject& a, const FileSystemObject& b) if (dynamic_cast<const DirMapping*>(&b)) return true; else - return Compare<ascending>().isSmallerThan(a.getShortName<side>(), b.getShortName<side>()); + return Compare<ascending>().isSmallerThan( + compareString(a.getShortName<side>(), b.getShortName<side>()), 0); } } |