diff --git a/stepmania/src/LyricsLoader.cpp b/stepmania/src/LyricsLoader.cpp index 382818b87f..383d9b71fe 100644 --- a/stepmania/src/LyricsLoader.cpp +++ b/stepmania/src/LyricsLoader.cpp @@ -45,7 +45,8 @@ bool LyricsLoader::LoadFromLRCFile( CString sPath, Song &out ) vector matches; if(!x.Compare(line, matches)) continue; - + ASSERT( matches.size() == 2 ); + CString &sValueName = matches[0]; CString &sValueData = matches[1]; StripCrnl(sValueData); @@ -76,12 +77,6 @@ bool LyricsLoader::LoadFromLRCFile( CString sPath, Song &out ) seg.m_fStartTime = TimeToSeconds(sValueName); seg.m_sLyric = sValueData; - /* Er, huh? This won't do anything (replace \ with \). What's wrong - * with using \ in lyrics? */ - seg.m_sLyric.Replace( "\\", "\\" ); // to avoid possible screw-ups - // if someone uses a \ for whatever - // reason in their lyrics -- Miryokuteki - seg.m_sLyric.Replace( "|","\n" ); // Pipe symbols denote a new line in LRC files out.AddLyricSegment( seg ); }