cosmetic changes

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@454 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2007-01-21 19:40:03 +00:00
parent c19f8df329
commit a9b452f0b4

View File

@@ -769,14 +769,16 @@ void instrumentTrack::playNote( notePlayHandle * _n, bool _try_parallelizing )
for( constNotePlayHandleVector::iterator it =
v.begin(); it != v.end(); ++it )
{
if( !( *it )->arpBaseNote() && ( *it )->totalFramesPlayed() <=
if( !( *it )->arpBaseNote() &&
( *it )->totalFramesPlayed() <=
( *youngest_note )->
totalFramesPlayed() )
{
youngest_note = it;
}
}
if( *youngest_note != _n && !( *youngest_note )->arpBaseNote() )
if( *youngest_note != _n &&
!( *youngest_note )->arpBaseNote() )
{
processInEvent( midiEvent( NOTE_OFF, 0,
_n->key(), 0 ), midiTime() );