From: Michael Wetherell Date: Wed, 18 Jan 2006 22:58:32 +0000 (+0000) Subject: Remove workaround since the problem should now be fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/945bd4747c4f96ae394638902aa98b199aa03000 Remove workaround since the problem should now be fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/zipstrm.cpp b/src/common/zipstrm.cpp index b7ab20d7b7..5081107137 100644 --- a/src/common/zipstrm.cpp +++ b/src/common/zipstrm.cpp @@ -1405,9 +1405,7 @@ bool wxZipInputStream::LoadEndRecord() else { wxLogNull nolog; wxFileOffset pos = m_parent_i_stream->TellI(); - // FIXME - //if (pos != wxInvalidOffset) - if (pos >= 0 && pos <= LONG_MAX) + if (pos != wxInvalidOffset) m_offsetAdjustment = m_position = pos; return true; }