From e36528010aa4e064e3e9076bfebf76ed2cfd7312 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 19 Sep 2003 01:06:20 +0000 Subject: [PATCH] Improve output. Fix logs (thanks gcc). --- stepmania/src/Song.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 2bca7156f1..36abbd0dd7 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -602,12 +602,12 @@ void Song::TidyUpData() else // ! HasMusic() { m_fMusicLengthSeconds = 100; // guess - LOG->Warn("This song has no music file; guessing at %f seconds", m_fMusicLengthSeconds); + LOG->Warn("Song \"%s\" has no music file; guessing at %f seconds", this->GetSongDir().c_str(), m_fMusicLengthSeconds); } if(m_fMusicLengthSeconds < 0) { - LOG->Warn("File %i has negative length? (%i)", GetMusicPath().c_str(), m_fMusicLengthSeconds); + LOG->Warn( "File %s has negative length? (%f)", GetMusicPath().c_str(), m_fMusicLengthSeconds ); m_fMusicLengthSeconds = 0; }