From 198816aba2edb256995f50940a80c1627ecf8216 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 10 Dec 1996 00:39:48 +0000 Subject: [PATCH] lilypond-0.0.15 --- src/item.cc | 6 ++++-- src/notehead.cc | 2 ++ src/spanner.cc | 7 +++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/item.cc b/src/item.cc index 914c924a99..4a8ea949d6 100644 --- a/src/item.cc +++ b/src/item.cc @@ -60,8 +60,10 @@ Item::Item() void Item::print() const { - assert(output); - output->print(); +#ifndef NPRINT + if (output) + output->print(); +#endif } Paperdef* diff --git a/src/notehead.cc b/src/notehead.cc index 7abc0e6b8e..fcbd6745eb 100644 --- a/src/notehead.cc +++ b/src/notehead.cc @@ -17,8 +17,10 @@ Notehead::Notehead(int ss) void Notehead::print()const { +#ifndef NPRINT mtor << "Head "<print(); + mtor << "Spanner { "; + if (output) { + mtor << "Output "; + output->print(); + } mtor << "}\n"; #endif -- 2.39.5