diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:03:20 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:03:20 +0200 |
commit | 528635604eea1d8c679a3d038e2f00030ef72444 (patch) | |
tree | 9c3cbec29aa7d3e209939662e040b9342c9e7400 /ui/sorting.h | |
parent | 3.1 (diff) | |
download | FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.gz FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.bz2 FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.zip |
3.2
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); } } |