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