This commit is contained in:
Glenn Maynard
2004-12-09 11:52:49 +00:00
parent ec22ffec62
commit 2bf27c582c
4 changed files with 8 additions and 10 deletions
+2 -2
View File
@@ -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 )
{