This commit is contained in:
Glenn Maynard
2003-10-29 21:06:33 +00:00
parent 0452c99494
commit 1c2e75c9a0
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -115,9 +115,7 @@ void Course::LoadFromCRSFile( CString sPath )
if( !msd.ReadFile(sPath) )
RageException::Throw( "Error opening CRS file '%s'.", sPath.c_str() );
CString sDir, sFName, sExt;
splitrelpath( sPath, sDir, sFName, sExt );
sFName = sDir + sFName;
const CString sFName = SetExtension( sPath, "" );
CStringArray arrayPossibleBanners;
GetDirListing( sFName + ".png", arrayPossibleBanners, false, true );
+1 -1
View File
@@ -101,7 +101,7 @@ bool KSFLoader::LoadFromKSFFile( const CString &sPath, Steps &out, const Song &s
{
CString sDir, sFName, sExt;
splitrelpath( sPath, sDir, sFName, sExt );
splitpath( sPath, sDir, sFName, sExt );
sFName.MakeLower();
out.SetDescription(sFName);