difficulty meter always shows 10 digits

This commit is contained in:
Chris Danford
2002-09-10 03:09:02 +00:00
parent 661d55c972
commit cf2025aafd
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -52,9 +52,9 @@ void FootMeter::SetFromNotes( Notes* pNotes )
void FootMeter::SetNumFeet( int iNumFeet )
{
CString sNewText;
for( int f=0; f<=8; f++ )
for( int f=0; f<=9; f++ )
sNewText += (f<iNumFeet) ? "1" : "0";
for( f=9; f<=12; f++ )
for( f=10; f<=12; f++ )
if( f<iNumFeet )
sNewText += "1";