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
@@ -113,7 +113,7 @@ void SongManager::AddGroup( CString sDir, CString sGroupDirName )
void SongManager::LoadStepManiaSongDir( CString sDir, void(*callback)() )
{
// trim off the trailing slash if any
sDir.TrimRight( "/\\" );
TrimRight( sDir, "/\\" );
// Find all group directories in "Songs" folder
CStringArray arrayGroupDirs;
@@ -176,7 +176,7 @@ void SongManager::LoadStepManiaSongDir( CString sDir, void(*callback)() )
void SongManager::LoadDWISongDir( CString DWIHome )
{
// trim off the trailing slash if any
DWIHome.TrimRight( "/\\" );
TrimRight( DWIHome, "/\\" );
// this has to be fixed, DWI doesn't put files
// in it's DWI folder. It puts them in Songs/<MIX>/<SONGNAME>