This commit is contained in:
Igor Pavlov
2015-01-03 00:00:00 +00:00
committed by Kornel Lesiński
parent 7e021179cd
commit 0713a3ab80
153 changed files with 2744 additions and 1485 deletions

View File

@@ -492,8 +492,8 @@ HRESULT CProxyArchive2::Load(const CArc &arc, IProgress *progress)
{
file.Name = (const wchar_t *)p;
file.NameSize = 0;
if (size >= 2)
file.NameSize = size / 2 - 1;
if (size >= sizeof(wchar_t))
file.NameSize = size / sizeof(wchar_t) - 1;
}
else
#endif

View File

@@ -0,0 +1,8 @@
// StdAfx.h
#ifndef __STDAFX_H
#define __STDAFX_H
#include "../../../Common/Common.h"
#endif