Don't Init() in FromString.
This commit is contained in:
@@ -110,9 +110,11 @@ CString PlayerOptions::GetString()
|
|||||||
return sReturn;
|
return sReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Options are added to the current settings; call Init() beforehand if
|
||||||
|
* you don't want this. */
|
||||||
void PlayerOptions::FromString( CString sOptions )
|
void PlayerOptions::FromString( CString sOptions )
|
||||||
{
|
{
|
||||||
Init();
|
// Init();
|
||||||
sOptions.MakeLower();
|
sOptions.MakeLower();
|
||||||
CStringArray asBits;
|
CStringArray asBits;
|
||||||
split( sOptions, ",", asBits, true );
|
split( sOptions, ",", asBits, true );
|
||||||
|
|||||||
@@ -57,9 +57,11 @@ CString SongOptions::GetString()
|
|||||||
return sReturn;
|
return sReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Options are added to the current settings; call Init() beforehand if
|
||||||
|
* you don't want this. */
|
||||||
void SongOptions::FromString( CString sOptions )
|
void SongOptions::FromString( CString sOptions )
|
||||||
{
|
{
|
||||||
Init();
|
// Init();
|
||||||
sOptions.MakeLower();
|
sOptions.MakeLower();
|
||||||
CStringArray asBits;
|
CStringArray asBits;
|
||||||
split( sOptions, ",", asBits, true );
|
split( sOptions, ",", asBits, true );
|
||||||
|
|||||||
Reference in New Issue
Block a user