use untemplated trim*

This commit is contained in:
Glenn Maynard
2002-10-31 08:05:13 +00:00
parent a28d19268a
commit 80c0f04397
8 changed files with 22 additions and 21 deletions
+2 -2
View File
@@ -70,8 +70,8 @@ void SongOptions::FromString( CString sOptions )
for( unsigned i=0; i<asBits.size(); i++ )
{
CString& sBit = asBits[i];
sBit.TrimLeft();
sBit.TrimRight();
TrimLeft(sBit);
TrimRight(sBit);
if( sBit == "norecover" ) m_DrainType = DRAIN_NO_RECOVER;
else if( sBit == "suddendeath" ) m_DrainType = DRAIN_SUDDEN_DEATH;