freaky-deaky outside debugger-only crash in NoteData. Why didn't VC7 catch use of an uninitialized variable?!?
This commit is contained in:
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user