]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tarstrm.cpp
Fix for always failing assert in GetValue. Save the same value that
[wxWidgets.git] / src / common / tarstrm.cpp
index 4ffdf73491948538118992e299ab3aaac45b32e5..f26ab00422c34a74c593e38da1c63b8388a532af 100644 (file)
@@ -1161,7 +1161,7 @@ bool wxTarOutputStream::WriteHeaders(wxTarEntry& entry)
 
     if (entry.GetSize() == wxInvalidOffset)
         entry.SetSize(0);
-    m_large = SetHeaderNumber(TAR_SIZE, entry.GetSize());
+    m_large = !SetHeaderNumber(TAR_SIZE, entry.GetSize());
 
     SetHeaderDate(_T("mtime"), entry.GetDateTime());
     if (entry.GetAccessTime().IsValid())