Revert previous commit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2008-01-03 17:11:45 +00:00
parent 0fa6253bdf
commit 3306244cb4

View File

@@ -2287,7 +2287,7 @@ bool wxZipOutputStream::Close()
{
CloseEntry();
if (m_lasterror == wxSTREAM_WRITE_ERROR) {
if (m_lasterror == wxSTREAM_WRITE_ERROR || m_entries.size() == 0) {
wxFilterOutputStream::Close();
return false;
}