4.27 beta

This commit is contained in:
Igor Pavlov
2005-09-21 00:00:00 +00:00
committed by Kornel Lesiński
parent 31e7b924e8
commit d66cf2fcf3
393 changed files with 17345 additions and 4743 deletions

View File

@@ -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;