ZIP reading fixes

This commit is contained in:
Glenn Maynard
2004-06-23 05:15:47 +00:00
parent 1a78bf45bc
commit 571af53ea8
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ RageFileObj *RageFileObjDirect::Copy( RageFile &p ) const
if( ret == NULL )
RageException::Throw("Couldn't reopen \"%s\": %s", path.c_str(), strerror(err) );
ret->Seek( parent.Tell() );
ret->Seek( lseek( fd, 0, SEEK_CUR ) );
return ret;
}