From: fred Date: Sun, 24 Mar 2002 19:47:27 +0000 (+0000) Subject: lilypond-0.0.74pre X-Git-Tag: release/1.5.59~4491 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3dda547b1325d18ba171abde43c5513506f8b7a9;p=lilypond.git lilypond-0.0.74pre --- diff --git a/lily/include/p-col.hh b/lily/include/p-col.hh index 593420cea0..87f1584164 100644 --- a/lily/include/p-col.hh +++ b/lily/include/p-col.hh @@ -47,6 +47,7 @@ public: Real hpos; // should use ptr? bool error_mark_b_; + bool used_b_ ; // manual override.. PScore * pscore_l_; diff --git a/lily/p-col.cc b/lily/p-col.cc index eb7a78ef10..7036bebee3 100644 --- a/lily/p-col.cc +++ b/lily/p-col.cc @@ -29,14 +29,15 @@ PCol::clean_breakable_items() if (!line_l_) { its.junk_links(); } - if (prebreak_p_) prebreak_p_->clean_breakable_items(); - if (postbreak_p_) postbreak_p_->clean_breakable_items(); + if (prebreak_p_) + prebreak_p_->clean_breakable_items(); + if (postbreak_p_) + postbreak_p_->clean_breakable_items(); } int PCol::rank_i() const { - assert(rank_i_ != -1); return rank_i_; } @@ -117,6 +118,7 @@ PCol::breakable_b() const PCol::PCol(PCol *parent) { + used_b_ = false; error_mark_b_ = false; daddy_l_ = parent; prebreak_p_=0; @@ -143,5 +145,5 @@ PCol::add( Item *i) bool PCol::used_b()const { - return breakable_b() || its.size(); + return breakable_b() || its.size()|| used_b_; } diff --git a/lily/spanner-elem-group.cc b/lily/spanner-elem-group.cc index 9ec544e52d..f0b76a277c 100644 --- a/lily/spanner-elem-group.cc +++ b/lily/spanner-elem-group.cc @@ -22,6 +22,9 @@ Spanner_elem_group::do_width() const void Spanner_elem_group::do_print() const { +#ifndef NPRINT + Spanner::do_print(); Horizontal_vertical_group::do_print(); +#endif }