Don't discard the rest of sValue, so eg. "mod,1.5x,boost" works.

This commit is contained in:
Glenn Maynard
2003-09-27 20:57:06 +00:00
parent 12035ea77a
commit 60ae284a7d
+2 -1
View File
@@ -100,7 +100,8 @@ void ModeChoice::Load( int iIndex, CString sChoice )
split( sCommand, ",", asBits );
CString sName = asBits[0];
CString sValue = (asBits.size()>1) ? asBits[1] : "";
asBits.erase(asBits.begin(), asBits.begin()+1);
CString sValue = join( ",", asBits );
sName.MakeLower();
sValue.MakeLower();