Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/Archive/Lzh/LzhIn.cpp')
-rwxr-xr-x7zip/Archive/Lzh/LzhIn.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/7zip/Archive/Lzh/LzhIn.cpp b/7zip/Archive/Lzh/LzhIn.cpp
index f9b5daff..5344ef13 100755
--- a/7zip/Archive/Lzh/LzhIn.cpp
+++ b/7zip/Archive/Lzh/LzhIn.cpp
@@ -1,4 +1,4 @@
-/ Archive/arj/InEngine.cpp
+// Archive/arj/InEngine.cpp
#include "StdAfx.h"
@@ -6,6 +6,8 @@
#include "Common/Buffer.h"
#include "Common/CRC.h"
+#include "../../Common/StreamUtils.h"
+
#include "LzhIn.h"
namespace NArchive {
@@ -13,7 +15,7 @@ namespace NLzh {
HRESULT CInArchive::ReadBytes(void *data, UInt32 size, UInt32 &processedSize)
{
- RINOK(m_Stream->Read(data, size, &processedSize));
+ RINOK(ReadStream(m_Stream, data, size, &processedSize));
m_Position += processedSize;
return S_OK;
}