localize SongOptions strings

This commit is contained in:
Chris Danford
2006-02-05 20:30:37 +00:00
parent 3cd26abb99
commit 9a05977e52
5 changed files with 53 additions and 28 deletions
+4 -3
View File
@@ -202,13 +202,14 @@ void PlayerOptions::GetMods( vector<RString> &AddTo ) const
/* Options are added to the current settings; call Init() beforehand if
* you don't want this. */
void PlayerOptions::FromString( RString sOptions, bool bWarnOnInvalid )
void PlayerOptions::FromString( const RString &sOptions, bool bWarnOnInvalid )
{
ASSERT( NOTESKIN );
// Init();
sOptions.MakeLower();
RString sTemp = sOptions;
sTemp.MakeLower();
vector<RString> asBits;
split( sOptions, ",", asBits, true );
split( sTemp, ",", asBits, true );
FOREACH( RString, asBits, bit )
{