mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-16 04:11:49 -06:00
4.27 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
31e7b924e8
commit
d66cf2fcf3
@@ -148,6 +148,7 @@ const wchar_t *kMethods[] =
|
||||
|
||||
const int kNumMethods = sizeof(kMethods) / sizeof(kMethods[0]);
|
||||
const wchar_t *kUnknownMethod = L"Unknown";
|
||||
const wchar_t *kPPMdMethod = L"PPMd";
|
||||
|
||||
CHandler::CHandler():
|
||||
m_ArchiveIsOpen(false)
|
||||
@@ -258,6 +259,8 @@ STDMETHODIMP CHandler::GetProperty(UInt32 index, PROPID aPropID, PROPVARIANT *a
|
||||
UString method;
|
||||
if (item.CompressionMethod < kNumMethods)
|
||||
method = kMethods[item.CompressionMethod];
|
||||
else if (item.CompressionMethod == NFileHeader::NCompressionMethod::kWinZipPPMd)
|
||||
method = kPPMdMethod;
|
||||
else
|
||||
method = kUnknownMethod;
|
||||
propVariant = method;
|
||||
|
||||
Reference in New Issue
Block a user