indent this nested; fix typo
authormirabilos <tg@debian.org>
Mon, 3 Jun 2019 00:09:05 +0000 (02:09 +0200)
committermirabilos <mirabilos@evolvis.org>
Mon, 3 Jun 2019 00:09:05 +0000 (02:09 +0200)
debian/patches/experiments/log-collisions.diff

index 2f09ab7..dc11b2f 100644 (file)
@@ -20,7 +20,7 @@ Justification: depends on experiments/revert-restriking-patch.diff
 +static void logCollisionNote(const Note* note, unsigned int indent)
 +      {
 +      QString info = note->accessibleInfoConst() + note->accessibleBarbeat();
-+      fprintf(stderr, "%*s%s\n", indent, "- ", qPrintable(info));
++      fprintf(stderr, " %*s%s\n", indent, "- ", qPrintable(info));
 +      }
 +
 +static void logCollisionNotes(const NPlayEvent* event)
@@ -46,9 +46,9 @@ Justification: depends on experiments/revert-restriking-patch.diff
 +                        /* log the collision */
 +                        fprintf(stderr, "MIDI collision detected: newly played...\n");
 +                        logCollisionNotes(&(it->second));
-+                        fprintf(stderr, "... interfere with already playing...\n");
++                        fprintf(stderr, " ... interferes with already playing...\n");
 +                        logCollisionNotes(info[it->second.channel()].event[it->second.pitch()]);
-+                        fprintf(stderr, "... which, as resolution, will continue to sound.\n");
++                        fprintf(stderr, " ... which will continue to sound.\n");
                          /* carry over the corresponding score notes */
                          info[it->second.channel()].event[it->second.pitch()]->notes.insert(info[it->second.channel()].event[it->second.pitch()]->notes.end(), it->second.notes.begin(), it->second.notes.end());
                          }