From: Vadim Zeitlin Date: Sat, 6 Jan 2001 14:18:29 +0000 (+0000) Subject: fixed wxStreamBuffer::SetBufferIO() (thanks to Gilles Depeyrot) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/421db2ada5702924d874c8c11e4a6fa0129ecaa5 fixed wxStreamBuffer::SetBufferIO() (thanks to Gilles Depeyrot) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/stream.cpp b/src/common/stream.cpp index 189916814b..15d6b73c36 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -165,7 +165,7 @@ void wxStreamBuffer::SetBufferIO(void *start, m_buffer_size = len; // if we own it, we free it - m_destroybuf = !takeOwnership; + m_destroybuf = takeOwnership; ResetBuffer(); }