mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 18:07:07 -06:00
feat: go on cancel folder priority over file in comparison
This commit is contained in:
@@ -191,8 +191,8 @@ int CALLBACK CompareItems(LPARAM lParam1, LPARAM lParam2, LPARAM lpData)
|
||||
|
||||
CPanel *panel = (CPanel*)lpData;
|
||||
|
||||
const bool isDir1 = panel->IsItem_Folder((unsigned)lParam1);
|
||||
const bool isDir2 = panel->IsItem_Folder((unsigned)lParam2);
|
||||
// const bool isDir1 = panel->IsItem_Folder((unsigned)lParam1);
|
||||
// const bool isDir2 = panel->IsItem_Folder((unsigned)lParam2);
|
||||
|
||||
// if (isDir1 && !isDir2) return -1;
|
||||
// if (isDir2 && !isDir1) return 1;
|
||||
|
||||
Reference in New Issue
Block a user