oops, undid last commit, the extra test is unneded (but a comment explaining why it isn't probably wouldn't hurt)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-03-07 23:40:06 +00:00
parent 10793ebfbb
commit 517cce713e

View File

@ -284,8 +284,8 @@ size_t wxZlibOutputStream::OnSysWrite(const void *buffer, size_t size)
if (!m_deflate || !m_z_buffer)
{
// notice that this will make IsOk() test just below return false
m_lasterror = wxSTREAM_WRITE_ERROR;
return 0;
}
if (!IsOk() || !size)