don't write an extra comma at the end of SMData

This commit is contained in:
Glenn Maynard
2003-12-01 22:26:33 +00:00
parent bc9ad8e27c
commit 1e778d7ad0
+3 -2
View File
@@ -200,6 +200,9 @@ void NoteDataUtil::GetSMNoteDataString( const NoteData &in_, CString &notes_out,
for( int m=0; m<=iLastMeasure; m++ ) // foreach measure
{
if( m )
sRet.append( 1, ',' );
NoteType nt = GetSmallestNoteTypeForMeasure( in, m );
int iRowSpacing;
if( nt == NOTE_TYPE_INVALID )
@@ -242,8 +245,6 @@ void NoteDataUtil::GetSMNoteDataString( const NoteData &in_, CString &notes_out,
sRet.append(1, '\n');
}
sRet.append(1, ',');
}
}