GUI zip(zstd) turn on

This commit is contained in:
Force.Charlie
2020-06-23 23:11:54 +08:00
parent 2c34b19505
commit 425b889145
3 changed files with 7 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ namespace NArchive {
namespace NZip {
const unsigned kNumMethodNames1 = NFileHeader::NCompressionMethod::kLZMA + 1;
const unsigned kMethodNames2Start = NFileHeader::NCompressionMethod::kXz;
const unsigned kMethodNames2Start = NFileHeader::NCompressionMethod::kZstd;
const unsigned kNumMethodNames2 = NFileHeader::NCompressionMethod::kWzAES + 1 - kMethodNames2Start;
extern const char * const kMethodNames1[kNumMethodNames1];
@@ -74,7 +74,7 @@ private:
m_WriteNtfsTimeExtra = true;
_removeSfxBlock = false;
m_ForceLocal = false;
m_ForceUtf8 = false;
m_ForceUtf8 = true;
_forceCodePage = false;
_specifiedCodePage = CP_OEMCP;
}