From e85ab4d5f50c4889d08a42ec2fe3dccdfd1985ee Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 13 Oct 2002 17:37:29 +0000 Subject: [PATCH] fix for dumb VC6 incompatibilities --- stepmania/src/Course.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index cf33427382..c226db618b 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -75,7 +75,7 @@ void Course::LoadFromCRSFile( CString sPath, CArray &apSongs ) if(!sSongDir.GetLength()) { /* Err. */ LOG->Trace( "Course file \"%s\" has an empty #SONG. Ignored.", - sPath.GetString(), sSongDir.GetString()); + (const char *) sPath, (const char *) sSongDir); continue; } @@ -102,7 +102,7 @@ void Course::LoadFromCRSFile( CString sPath, CArray &apSongs ) { LOG->Warn( "Course file \"%s\" path \"%s\" should contain " "at most one backslash; ignored.", - sPath.GetString(), sSongDir.GetString()); + (const char *) sPath, (const char *) sSongDir); continue; } @@ -118,7 +118,7 @@ void Course::LoadFromCRSFile( CString sPath, CArray &apSongs ) int SongDir_no = split_SongDir.GetSize()-1; while( split_no >= 0 && SongDir_no >= 0 ) { - if( stricmp(splitted[split_no--].GetString(), split_SongDir[SongDir_no--].GetString() ) ) + if( stricmp(splitted[split_no--], split_SongDir[SongDir_no--] ) ) matches=false; }