]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove workaround since the problem should now be fixed
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 18 Jan 2006 22:58:32 +0000 (22:58 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 18 Jan 2006 22:58:32 +0000 (22:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/zipstrm.cpp

index b7ab20d7b7d6af9b331d28e64025d3332f2981a4..508110713704baa58012fbb85498effcf1fc3de1 100644 (file)
@@ -1405,9 +1405,7 @@ bool wxZipInputStream::LoadEndRecord()
         else {
             wxLogNull nolog;
             wxFileOffset pos = m_parent_i_stream->TellI();
         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;
         }
                 m_offsetAdjustment = m_position = pos;
             return true;
         }