[sm130labels] Have to trim newline chars.

This commit is contained in:
Jason Felds
2011-04-05 01:16:31 -04:00
parent 9e6ea7b3a6
commit 25b5e24b93
+2 -1
View File
@@ -532,7 +532,8 @@ bool SSCLoader::LoadFromSSCFile( const RString &sPath, Song &out, bool bFromCach
}
const float fBeat = StringToFloat( arrayLabelValues[0] );
const RString sLabel = arrayLabelValues[1];
RString sLabel = arrayLabelValues[1];
TrimRight(sLabel);
if( fBeat > 0.0f )
out.m_Timing.AddLabelSegment( LabelSegment(fBeat, sLabel) );
else