mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 18:07:07 -06:00
21.02
This commit is contained in:
@@ -145,10 +145,12 @@ STDMETHODIMP CHandler::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *val
|
||||
case kpidMethod:
|
||||
{
|
||||
if (!item.IsDir())
|
||||
{
|
||||
if (item.Section == 0)
|
||||
prop = "Copy";
|
||||
else if (item.Section < m_Database.Sections.Size())
|
||||
prop = m_Database.Sections[(unsigned)item.Section].GetMethodName();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kpidBlock:
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
#include "ChmIn.h"
|
||||
|
||||
#define Get16(p) GetUi16(p)
|
||||
#define Get32(p) GetUi32(p)
|
||||
#define Get64(p) GetUi64(p)
|
||||
|
||||
@@ -117,7 +116,7 @@ UString CSectionInfo::GetMethodName() const
|
||||
if (!IsLzx())
|
||||
{
|
||||
UString temp;
|
||||
if (ConvertUTF8ToUnicode(Name, temp))
|
||||
ConvertUTF8ToUnicode(Name, temp);
|
||||
s += temp;
|
||||
s += ": ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user