From 2ea476c3a75469b4e770bf3f83fee9215a33bace Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 24 Mar 2004 06:45:04 +0000 Subject: [PATCH] Don't use GetMainAndSubTitlesFromFullTitle reading SMs --- stepmania/src/NotesLoaderSM.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/NotesLoaderSM.cpp b/stepmania/src/NotesLoaderSM.cpp index fb30be43a9..e01f50c7e8 100644 --- a/stepmania/src/NotesLoaderSM.cpp +++ b/stepmania/src/NotesLoaderSM.cpp @@ -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];