Mercurial > hg > midi-score-follower
comparison src/testApp.cpp @ 11:df9c838d0b8f
fixed bug where the full midi file was sometimes not drawn (since minNoteIndexToPrint) was at the max and did not decrease properly in draw routine
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 25 Oct 2011 15:01:52 +0100 |
parents | 75dcd1308658 |
children | 3f103cf78148 |
comparison
equal
deleted
inserted
replaced
10:2ab6f4670cf5 | 11:df9c838d0b8f |
---|---|
135 filePtr = &midiFileName; | 135 filePtr = &midiFileName; |
136 | 136 |
137 if (getFilenameFromDialogBox(filePtr)){ | 137 if (getFilenameFromDialogBox(filePtr)){ |
138 printf("Midifile: Loaded name okay :\n'%s' \n", midiFileName.c_str()); | 138 printf("Midifile: Loaded name okay :\n'%s' \n", midiFileName.c_str()); |
139 cannamMainFunction(); | 139 cannamMainFunction(); |
140 | |
140 } | 141 } |
141 | 142 |
142 } | 143 } |
143 } | 144 } |
144 | 145 |