From: fred Date: Tue, 10 Dec 1996 00:39:48 +0000 (+0000) Subject: lilypond-0.0.15 X-Git-Tag: release/1.5.59~6637 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=198816aba2edb256995f50940a80c1627ecf8216;p=lilypond.git lilypond-0.0.15 --- 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