fix refcounting

This commit is contained in:
Glenn Maynard
2003-12-11 07:13:20 +00:00
parent a8365e11b6
commit 9723ca794b
3 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ RageFile::RageFile( const RageFile &cpy )
ResetBuf();
/* This will copy the file driver, including its internal file pointer. */
m_File = cpy.m_File->Copy( *this );
m_File = FILEMAN->CopyFileObj( cpy.m_File, *this );
m_Path = cpy.m_Path;
m_Mode = cpy.m_Mode;
m_Error = cpy.m_Error;