mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 17:15:00 -06:00
9.04 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
8874e4fbc9
commit
829409452d
@@ -330,7 +330,7 @@ STDMETHODIMP CArchiveExtractCallback::GetStream(UInt32 index,
|
||||
else
|
||||
{
|
||||
NFile::NFind::CFileInfoW fi;
|
||||
if (NFile::NFind::FindFile(fullProcessedPath, fi))
|
||||
if (fi.Find(fullProcessedPath))
|
||||
{
|
||||
if (!NFile::NDirectory::DeleteFileAlways(fullProcessedPath))
|
||||
{
|
||||
@@ -621,8 +621,8 @@ STDMETHODIMP CArchiveUpdateCallback::GetVolumeSize(UInt32 index, UInt64 *size)
|
||||
|
||||
STDMETHODIMP CArchiveUpdateCallback::GetVolumeStream(UInt32 index, ISequentialOutStream **volumeStream)
|
||||
{
|
||||
wchar_t temp[32];
|
||||
ConvertUInt64ToString(index + 1, temp);
|
||||
wchar_t temp[16];
|
||||
ConvertUInt32ToString(index + 1, temp);
|
||||
UString res = temp;
|
||||
while (res.Length() < 2)
|
||||
res = UString(L'0') + res;
|
||||
@@ -707,7 +707,7 @@ int MY_CDECL main(int argc, char* argv[])
|
||||
UString name = GetUnicodeString(argv[i], CP_OEMCP);
|
||||
|
||||
NFile::NFind::CFileInfoW fi;
|
||||
if (!NFile::NFind::FindFile(name, fi))
|
||||
if (!fi.Find(name))
|
||||
{
|
||||
PrintString(UString(L"Can't find file") + name);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user