From b8a9d0384acba84491672896b649cff8ad26fcb2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 19 Feb 2005 10:09:20 +0000 Subject: [PATCH] no, really, don't append a newline here --- stepmania/src/NotesWriterSM.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/NotesWriterSM.cpp b/stepmania/src/NotesWriterSM.cpp index 4921de8029..a58f9e2c53 100644 --- a/stepmania/src/NotesWriterSM.cpp +++ b/stepmania/src/NotesWriterSM.cpp @@ -154,7 +154,7 @@ CString NotesWriterSM::GetSMNotesTag( const Song &song, const Steps &in, bool bS /* Don't append a newline here; it's added in NoteDataUtil::GetSMNoteDataString. * If we add it here, then every time we write unmodified data we'll add an extra * newline and they'll accumulate. */ - sRet += ssprintf( " %s:\n", join(",",asRadarValues).c_str() ); + sRet += ssprintf( " %s:", join(",",asRadarValues).c_str() ); CString sNoteData; in.GetSMNoteData( sNoteData ); @@ -226,13 +226,11 @@ void NotesWriterSM::GetEditFile( const Song *pSong, const Steps *pSteps, CString sOut = ""; CString sDir = pSong->GetSongDir(); - LOG->Trace( "xxx dir from '%s'", sDir.c_str()); /* "Songs/foo/bar"; strip off "Songs/". */ vector asParts; split( sDir, "/", asParts ); if( asParts.size() ) sDir = join( "/", asParts.begin()+1, asParts.end() ); - LOG->Trace( "dir to '%s'", sDir.c_str()); sOut += ssprintf( "#SONG:%s;\n", sDir.c_str() ); sOut += GetSMNotesTag( *pSong, *pSteps, false ); }