summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/pcanvas.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-05-27 13:40:27 +0000
committerFlorian Jung <flo@windfisch.org>2011-05-27 13:40:27 +0000
commite46d7bf9d40b883ef7194a893ad03de8d5fd32ef (patch)
treebfaa9f538be0bd10af01187ef0d54734a250236e /muse2/muse/arranger/pcanvas.cpp
parent4b344cf08471bcfbce5814ddead384dddb9bb86b (diff)
applied some hunks of the patch sent in by WillyFoobar
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index 54785200..8c7c89ad 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -1834,16 +1834,16 @@ void PartCanvas::drawMidiPart(QPainter& p, const QRect&, EventList* events, Midi
if (heavyDebugMsg)
{
- if (!isdrum)
- printf("DEBUG: arranger: cakewalk enabled, y-stretching from %i to %i. eventlist=%i\n",lowest_pitch, highest_pitch, events);
- else
- {
- printf("DEBUG: arranger: cakewalk enabled, y-stretching drums: ");;
- for (map<int,int>::iterator it=y_mapper.begin(); it!=y_mapper.end(); it++)
- printf("%i ", it->first);
- printf("; eventlist=%i\n",events);
- }
- }
+ if (!isdrum)
+ printf("DEBUG: arranger: cakewalk enabled, y-stretching from %i to %i. eventlist=%p\n",lowest_pitch, highest_pitch, events);
+ else
+ {
+ printf("DEBUG: arranger: cakewalk enabled, y-stretching drums: ");;
+ for (map<int,int>::iterator it=y_mapper.begin(); it!=y_mapper.end(); it++)
+ printf("%i ", it->first);
+ printf("; eventlist=%p\n",events);
+ }
+ }
}
else
{