X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e50d1add66530dda0e9e42906e25cbe6f8f3449..bd1a4a99fc1bec4ac5d0b14379dc5345d6ce3253:/src/common/zstream.cpp diff --git a/src/common/zstream.cpp b/src/common/zstream.cpp index 083ac372fb..684ff82cfd 100644 --- a/src/common/zstream.cpp +++ b/src/common/zstream.cpp @@ -136,6 +136,7 @@ size_t wxZlibInputStream::OnSysRead(void *buffer, size_t size) // any additional data can be read from the underlying stream (the crc // in a gzip for example) if (m_inflate->avail_in) { + m_parent_i_stream->Reset(); m_parent_i_stream->Ungetch(m_inflate->next_in, m_inflate->avail_in); m_inflate->avail_in = 0; }