diff options
Diffstat (limited to 'CPP/7zip/Archive/Zip/ZipItem.h')
-rwxr-xr-x | CPP/7zip/Archive/Zip/ZipItem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/Zip/ZipItem.h b/CPP/7zip/Archive/Zip/ZipItem.h index 2395a37a..350e81b6 100755 --- a/CPP/7zip/Archive/Zip/ZipItem.h +++ b/CPP/7zip/Archive/Zip/ZipItem.h @@ -226,7 +226,7 @@ public: if (CentralExtra.GetWzAesField(aesField)) return aesField.NeedCrc(); } - return true; + return (FileCRC != 0 || !IsDirectory()); } WORD GetCodePage() const |