freaky-deaky outside debugger-only crash in NoteData. Why didn't VC7 catch use of an uninitialized variable?!?

This commit is contained in:
Chris Danford
2003-02-10 07:38:12 +00:00
parent 538081f804
commit 1438af64a1
3 changed files with 8 additions and 5 deletions
+3 -1
View File
@@ -413,7 +413,7 @@ void Song::TidyUpData()
else // ! HasMusic()
{
m_fMusicLengthSeconds = 100; // guess
LOG->Warn("File %s has no music; guessing at %f seconds", m_fMusicLengthSeconds);
LOG->Warn("This song has no music file; guessing at %f seconds", m_fMusicLengthSeconds);
}
/* Generate these before we autogen notes, so the new notes can inherit
@@ -446,6 +446,8 @@ void Song::TidyUpData()
// image is the banner, which is the background, and which is the CDTitle.
//
LOG->Trace("Looking for images...");
//
// First, check the file name for hints.
//