diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 5b8a8e6070..f7bfc9d8d1 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -1115,9 +1115,8 @@ void Song::SaveToSMFile( CString sPath, bool bSavingCache ) void Song::SaveToDWIFile() { - LOG->Trace( "Song::SaveToSongFileAndDWI()" ); - - CString sPath = SetExtension( GetSongFilePath(), "dwi" ); + const CString sPath = SetExtension( GetSongFilePath(), "dwi" ); + LOG->Trace( "Song::SaveToDWIFile(%s)", sPath.c_str() ); NotesWriterDWI wr; wr.Write(sPath, *this);