Sort directories too in replay list
This commit is contained in:
1 parent
a4af254643
commit
7c848f4be5
1 file changed
-2
@@ -4170,8 +4170,6 @@ static int ReplayListSortComparator(const void *entry1, const void *entry2)
|
||||
return -1;
|
||||
else if (demo2->type == MD_SUBDIR && demo1->type != MD_SUBDIR)
|
||||
return 1;
|
||||
else if (demo1->type == MD_SUBDIR && demo2->type == MD_SUBDIR)
|
||||
return 0;
|
||||
|
||||
memcpy(filepath1, demo1->filepath, sizeof(filepath1));
|
||||
memcpy(filepath2, demo2->filepath, sizeof(filepath2));
|
||||
|
||||
Reference in new issue
Block a user