use colons in #DISPLAYBPM; that's what the reading code did, anyway,

and it's more consistent
This commit is contained in:
Glenn Maynard
2003-06-13 23:18:25 +00:00
parent a41998c22c
commit f37d58e02f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ bool SMLoader::LoadFromSMFile( CString sPath, Song &out )
else if( 0==stricmp(sValueName,"DISPLAYBPM") )
{
// #DISPLAYBPM:[xxx,xxx]|[xxx]|[*];
// #DISPLAYBPM:[xxx][xxx:xxx]|[*];
if( sParams[1] == "*" )
out.m_DisplayBPMType = Song::DISPLAY_RANDOM;
else
+1 -1
View File
@@ -45,7 +45,7 @@ void NotesWriterSM::WriteGlobalTags(FILE *fp, const Song &out)
if( out.m_fDisplayBPMMin == out.m_fDisplayBPMMax )
fprintf( fp, "#DISPLAYBPM:%.3f;\n", out.m_fDisplayBPMMin );
else
fprintf( fp, "#DISPLAYBPM:%.3f,%.3f;\n", out.m_fDisplayBPMMin, out.m_fDisplayBPMMax );
fprintf( fp, "#DISPLAYBPM:%.3f:%.3f;\n", out.m_fDisplayBPMMin, out.m_fDisplayBPMMax );
break;
case Song::DISPLAY_RANDOM:
fprintf( fp, "#DISPLAYBPM:*;\n" );