This commit is contained in:
Steve Checkoway
2004-02-03 01:49:39 +00:00
parent bd9db2a7da
commit bef6d68d58
+2 -2
View File
@@ -182,14 +182,14 @@ bool NotesWriterSM::Write(CString sPath, const Song &out, bool bSavingCache)
WriteGlobalTags( f, out );
if( bSavingCache )
{
f.PutLine( ssprintf( "// cache tags:\n", out.m_fFirstBeat ) );
f.PutLine( ssprintf( "// cache tags:\n" ) );
f.PutLine( ssprintf( "#FIRSTBEAT:%.3f;\n", out.m_fFirstBeat ) );
f.PutLine( ssprintf( "#LASTBEAT:%.3f;\n", out.m_fLastBeat ) );
f.PutLine( ssprintf( "#SONGFILENAME:%s;\n", out.m_sSongFileName.c_str() ) );
f.PutLine( ssprintf( "#HASMUSIC:%i;\n", out.m_bHasMusic ) );
f.PutLine( ssprintf( "#HASBANNER:%i;\n", out.m_bHasBanner ) );
f.PutLine( ssprintf( "#MUSICLENGTH:%.3f;", out.m_fMusicLengthSeconds ) );
f.PutLine( ssprintf( "// end cache tags\n", out.m_fFirstBeat ) );
f.PutLine( ssprintf( "// end cache tags\n" ) );
}
//