remove parent

This commit is contained in:
Glenn Maynard
2004-12-09 11:31:23 +00:00
parent bb94a3aaa1
commit b38e2e25f1
2 changed files with 8 additions and 5 deletions
+6 -2
View File
@@ -30,10 +30,14 @@ RageFile::RageFile( const RageFile &cpy )
CString RageFile::GetPath() const
{
if ( !IsOpen() )
if ( !IsOpen() )
return "";
return m_File->GetDisplayPath();
CString sRet = m_File->GetDisplayPath();
if( sRet != "" )
return sRet;
return GetRealPath();
}
bool RageFile::Open( const CString& path, int mode )