fix compile
This commit is contained in:
@@ -395,6 +395,7 @@ bool SMLoader::LoadEdit( CString sEditFilePath )
|
||||
int iNumParams = msd.GetNumParams(i);
|
||||
const MsdFile::value_t &sParams = msd.GetValue(i);
|
||||
const CString sValueName = sParams[0];
|
||||
CString sSongFullTitle;
|
||||
|
||||
// handle the data
|
||||
if( 0==stricmp(sValueName,"SONG") )
|
||||
@@ -405,7 +406,7 @@ bool SMLoader::LoadEdit( CString sEditFilePath )
|
||||
return false;
|
||||
}
|
||||
|
||||
CString& sSongFullTitle = sParams[1];
|
||||
sSongFullTitle = sParams[1];
|
||||
sSongFullTitle.Replace( '\\', '/' );
|
||||
|
||||
pSong = SONGMAN->FindSong( sSongFullTitle );
|
||||
@@ -435,7 +436,7 @@ bool SMLoader::LoadEdit( CString sEditFilePath )
|
||||
}
|
||||
|
||||
LoadFromSMTokens(
|
||||
sParams[1], sParams[2], sParams[3], sParams[4], sParams[5], sParams[6], (iNumParams>=8)?sParams[7]:"",
|
||||
sSongFullTitle, sParams[2], sParams[3], sParams[4], sParams[5], sParams[6], (iNumParams>=8)?sParams[7]:"",
|
||||
*pNewNotes);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user