don't lowercase filenames before loading

This commit is contained in:
Glenn Maynard
2003-02-14 22:46:45 +00:00
parent 4749c0f9bb
commit 52ca34fb86
2 changed files with 4 additions and 4 deletions
+4 -3
View File
@@ -106,9 +106,10 @@ void BGAnimationLayer::LoadFromVisualization( CString sMoviePath )
void BGAnimationLayer::LoadFromAniLayerFile( CString sPath, CString sSongBGPath )
{
sPath.MakeLower();
CString lcPath = sPath;
lcPath.MakeLower();
if( sPath.Find("usesongbg") != -1 )
if( lcPath.Find("usesongbg") != -1 )
{
LoadFromStaticGraphic( sSongBGPath );
return; // this will ignore other effects in the file name
@@ -145,7 +146,7 @@ void BGAnimationLayer::LoadFromAniLayerFile( CString sPath, CString sSongBGPath
for( int i=0; i<NUM_EFFECTS; i++ )
{
if( sPath.Find(EFFECT_STRING[i]) != -1 )
if( lcPath.Find(EFFECT_STRING[i]) != -1 )
{
m_Effect = (Effect)i;
goto found_effect;
-1
View File
@@ -38,7 +38,6 @@ void FontPage::Load( FontPageSettings cfg )
m_sTexturePath = cfg.TexturePath;
// load texture
m_sTexturePath.MakeLower();
RageTextureID ID(m_sTexturePath);
ID.bStretch = true;