mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 10:11:38 -06:00
4.58 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
bd1fa36322
commit
3901bf0ab8
@@ -58,11 +58,7 @@ CDecoder::~CDecoder()
|
||||
|
||||
HRESULT CDecoder::WriteDataToStream(const Byte *data, UInt32 size)
|
||||
{
|
||||
UInt32 processedSize;
|
||||
HRESULT res = WriteStream(_outStream, data, size, &processedSize);
|
||||
if (res == S_OK && processedSize != size)
|
||||
res = E_FAIL;
|
||||
return res;
|
||||
return WriteStream(_outStream, data, size);
|
||||
}
|
||||
|
||||
HRESULT CDecoder::WriteData(const Byte *data, UInt32 size)
|
||||
|
||||
Reference in New Issue
Block a user