From d36dddd27348f20556fa986fda3ea8fe412bf557 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 15 Sep 2003 20:31:12 +0000 Subject: [PATCH] Fix case-sensitivity issue --- stepmania/src/RageSounds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageSounds.cpp b/stepmania/src/RageSounds.cpp index efb70b5020..640e10fd71 100644 --- a/stepmania/src/RageSounds.cpp +++ b/stepmania/src/RageSounds.cpp @@ -28,7 +28,7 @@ void RageSounds::PlayMusic(CString file, bool force_loop, float start_sec, float // LOG->Trace("play '%s' (current '%s')", file.c_str(), music->GetLoadedFilePath().c_str()); if(music->IsPlaying()) { - if( music->GetLoadedFilePath() == file ) + if( !music->GetLoadedFilePath().CompareNoCase(file) ) return; // do nothing music->StopPlaying();