use GetSongDir

This commit is contained in:
Glenn Maynard
2002-12-13 23:41:11 +00:00
parent c86c5af9f8
commit 2b19012e40
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ void Course::LoadFromCRSFile( CString sPath, CArray<Song*,Song*> &apSongs )
continue;
}
/* m_sSongDir contains a path to the song, possibly a full path, eg:
/* GetSongDir() contains a path to the song, possibly a full path, eg:
* Songs\Group\SongName or
* My Other Song Folder\Group\SongName or
* c:\Corny J-pop\Group\SongName
@@ -111,7 +111,7 @@ void Course::LoadFromCRSFile( CString sPath, CArray<Song*,Song*> &apSongs )
for( unsigned i = 0; pSong == NULL && i < apSongs.size(); i++ )
{
CStringArray splitted;
split( apSongs[i]->m_sSongDir, "\\", splitted, true );
split( apSongs[i]->GetSongDir(), "\\", splitted, true );
bool matches = true;
int split_no = splitted.size()-1;