mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-16 22:11:49 -06:00
feat: opens sole folder instead of upper folder after extraction; cancel folder priority over file in comparison; other minor ui fix
This commit is contained in:
@@ -194,8 +194,8 @@ int CALLBACK CompareItems(LPARAM lParam1, LPARAM lParam2, LPARAM lpData)
|
||||
bool isDir1 = panel->IsItem_Folder((int)lParam1);
|
||||
bool isDir2 = panel->IsItem_Folder((int)lParam2);
|
||||
|
||||
if (isDir1 && !isDir2) return -1;
|
||||
if (isDir2 && !isDir1) return 1;
|
||||
// if (isDir1 && !isDir2) return -1;
|
||||
// if (isDir2 && !isDir1) return 1;
|
||||
|
||||
int result = CompareItems2(lParam1, lParam2, lpData);
|
||||
return panel->_ascending ? result: (-result);
|
||||
|
||||
Reference in New Issue
Block a user