Commit dfa870a6 authored by nanahira's avatar nanahira Committed by GitHub

fix

parent c7fabe46
......@@ -142,7 +142,7 @@ public:
static bool TraversalDirSort(file_unit file1, file_unit file2) {
if(file1.is_dir != file2.is_dir) {
return file1.is_dir;
return file2.is_dir;
} else {
return file1.filename < file2.filename;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment