diff options
Diffstat (limited to 'CPP/7zip/Compress/Rar2Decoder.cpp')
-rw-r--r-- | CPP/7zip/Compress/Rar2Decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/7zip/Compress/Rar2Decoder.cpp b/CPP/7zip/Compress/Rar2Decoder.cpp index 6f42d2e6..5082ded3 100644 --- a/CPP/7zip/Compress/Rar2Decoder.cpp +++ b/CPP/7zip/Compress/Rar2Decoder.cpp @@ -394,7 +394,7 @@ STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte *data, UInt32 size) { if (size < 1) return E_INVALIDARG; - m_IsSolid = (data[0] != 0); + m_IsSolid = ((data[0] & 1) != 0); return S_OK; } |