fix record with no selection in EditMode_Full; FLT_MAX is greater than the maximum NoteRow and comes out negative

This commit is contained in:
Glenn Maynard
2006-05-30 17:41:26 +00:00
parent 7801d81596
commit 031c9397f3
+1 -1
View File
@@ -3472,7 +3472,7 @@ float ScreenEdit::GetMaximumBeatForNewNote() const
return fEndBeat;
}
case EditMode_Full:
return FLT_MAX;
return NoteRowToBeat(MAX_NOTE_ROW);
default:
ASSERT(0); return 0;
}