stl-ize some stuff

This commit is contained in:
Glenn Maynard
2003-01-03 05:29:45 +00:00
parent 71d48b3d62
commit f4dbed8221
11 changed files with 43 additions and 43 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ CString SongOptions::GetString()
{
CString s = ssprintf( "%2.2f", m_fMusicRate );
if( s[s.GetLength()-1] == '0' )
s.Delete(s.GetLength()-1);
s.erase(s.GetLength()-1);
sReturn += s + "xMusic, ";
}
@@ -56,7 +56,7 @@ CString SongOptions::GetString()
}
if( sReturn.GetLength() > 2 )
sReturn.Delete( sReturn.GetLength()-2, 2 ); // delete the trailing ", "
sReturn.erase( sReturn.GetLength()-2 ); // delete the trailing ", "
return sReturn;
}