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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user