replace large, arbitrary numbers with limit constants

This commit is contained in:
Chris Danford
2005-03-29 19:10:42 +00:00
parent d0ee7921ed
commit afb2c2efb4
6 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -1069,7 +1069,7 @@ void Song::AddAutoGenNotes()
// look for closest match
StepsType stBestMatch = (StepsType)-1;
int iBestTrackDifference = 10000; // inf
int iBestTrackDifference = INT_MAX;
FOREACH_StepsType( st )
{