cleanup
This commit is contained in:
@@ -16,7 +16,7 @@ RageFile::RageFile( const RageFile &cpy )
|
||||
ResetBuf();
|
||||
|
||||
/* This will copy the file driver, including its internal file pointer. */
|
||||
m_File = FILEMAN->CopyFileObj( cpy.m_File, *this );
|
||||
m_File = FILEMAN->CopyFileObj( cpy.m_File );
|
||||
m_Path = cpy.m_Path;
|
||||
m_Mode = cpy.m_Mode;
|
||||
m_Error = cpy.m_Error;
|
||||
@@ -66,7 +66,7 @@ bool RageFile::Open( const CString& path, int mode )
|
||||
}
|
||||
|
||||
int error;
|
||||
m_File = FILEMAN->Open( path, mode, *this, error );
|
||||
m_File = FILEMAN->Open( path, mode, error );
|
||||
|
||||
if( m_File == NULL )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user