From: Mathias L. <lun...@us...> - 2005-03-28 00:01:38
|
Update of /cvsroot/lmuse/muse/muse In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20212/muse Modified Files: Tag: REL07 tempo.cpp Log Message: Check for MAX_TICK when adding Index: tempo.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/muse/Attic/tempo.cpp,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -C2 -d -r1.7 -r1.7.2.1 *** tempo.cpp 14 Jul 2004 18:32:48 -0000 1.7 --- tempo.cpp 28 Mar 2005 00:01:22 -0000 1.7.2.1 *************** *** 37,40 **** --- 37,42 ---- void TempoList::add(unsigned tick, int tempo) { + if (tick > MAX_TICK) + tick = MAX_TICK; iTEvent e = upper_bound(tick); |