summaryrefslogtreecommitdiffstats
path: root/libkmid/track.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-26 21:28:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-26 21:28:48 -0600
commit77f4891c222583c8deffc34732ccf325bac9e11b (patch)
tree5123890a5c34e9297b26bdfa258cbe0ab9ad25c6 /libkmid/track.cc
parent81dc14e8f035d33ab1de2c01314582ed2c17ad1c (diff)
downloadtdelibs-77f4891c222583c8deffc34732ccf325bac9e11b.tar.gz
tdelibs-77f4891c222583c8deffc34732ccf325bac9e11b.zip
Fix a number of tdelibs build warnings
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++; };