Better ZIP sorting, add <zip> suffix (#900)

This commit is contained in:
TpaBkaY
2024-05-17 09:27:26 +03:00
committed by GitHub
parent f8949320ba
commit a2941ae27e
3 changed files with 17 additions and 1 deletions

View File

@@ -7120,7 +7120,10 @@ void PrintDirectory(int expand)
}
else
{
strcpy(&s[22], " <DIR>");
if (flist_DirItem(k)->flags & DT_EXT_ZIP) // mark ZIP archive with different suffix
strcpy(&s[22], " <zip>");
else
strcpy(&s[22], " <DIR>");
}
len2 = 0;
}