summaryrefslogtreecommitdiffstats
path: root/libkmid/track.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libkmid/track.cc')
-rw-r--r--libkmid/track.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkmid/track.cc b/libkmid/track.cc
index f936906e7..ccaaf69d2 100644
--- a/libkmid/track.cc
+++ b/libkmid/track.cc
@@ -334,7 +334,7 @@ void MidiTrack::readEvent(MidiEvent *ev)
case (ME_END_OF_TRACK) :
i=0;
j=0;
- while ((note[i][j]==FALSE)&&(i<16))
+ while ((i<16)&&(note[i][j]==FALSE))
{
j++;
if (j==128) { j=0; i++; };