Don't use GetMainAndSubTitlesFromFullTitle reading SMs

This commit is contained in:
Glenn Maynard
2004-03-24 06:45:04 +00:00
parent f647555dda
commit 2ea476c3a7
+3 -1
View File
@@ -190,8 +190,10 @@ bool SMLoader::LoadFromSMFile( CString sPath, Song &out )
const CString sValueName = sParams[0];
// handle the data
/* Don't use GetMainAndSubTitlesFromFullTitle; that's only for heuristically
* splitting other formats that *don't* natively support #SUBTITLE. */
if( 0==stricmp(sValueName,"TITLE") )
GetMainAndSubTitlesFromFullTitle( sParams[1], out.m_sMainTitle, out.m_sSubTitle );
out.m_sMainTitle = sParams[1];
else if( 0==stricmp(sValueName,"SUBTITLE") )
out.m_sSubTitle = sParams[1];