diff options
-rw-r--r-- | src/FileUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileUtil.cpp b/src/FileUtil.cpp index b78e257..a03161f 100644 --- a/src/FileUtil.cpp +++ b/src/FileUtil.cpp @@ -266,7 +266,7 @@ namespace sibs std::sort(files.begin(), files.end(), [](const FileWithTimestamp &filedata_a, const FileWithTimestamp &filedata_b) { if(filedata_a.last_modified.tv_sec < filedata_b.last_modified.tv_sec) return true; - else if(filedata_a.last_modified.tv_sec == filedata_b.last_modified.tv_sec && filedata_a.last_modified.tv_nsec <= filedata_b.last_modified.tv_nsec) + else if(filedata_a.last_modified.tv_sec == filedata_b.last_modified.tv_sec && filedata_a.last_modified.tv_nsec < filedata_b.last_modified.tv_nsec) return true; else return false; |