From 968c9e092a8f05c231f55a32ed9d055ee6289b7a Mon Sep 17 00:00:00 2001 From: fred <fred> Date: Tue, 26 Mar 2002 23:23:55 +0000 Subject: [PATCH] lilypond-1.3.66 --- input/test/font-body.ly | 2 +- lily/spanner.cc | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/input/test/font-body.ly b/input/test/font-body.ly index 9349d53ab4..6b52586324 100644 --- a/input/test/font-body.ly +++ b/input/test/font-body.ly @@ -43,7 +43,7 @@ c\longa*1/4 c\breve*1/2 c1 c2 c4 c8 \property Voice . noteHeadStyle = #'cross f4^"4" g4^"5" - \property Voice . noteHeadStyle = "" + \property Voice . noteHeadStyle = ##f % Music to the Martians! < bes4^"6" e_"7" c_"8" > a^"0"_"9" diff --git a/lily/spanner.cc b/lily/spanner.cc index 806365bc8e..db4b05d118 100644 --- a/lily/spanner.cc +++ b/lily/spanner.cc @@ -52,9 +52,6 @@ Spanner::do_break_processing () if (left == right) { - /* - FIXME: this is broken. - */ /* If we have a spanner spanning one column, we must break it anyway because it might provide a parent for another item. */ @@ -62,7 +59,9 @@ Spanner::do_break_processing () do { Item* bound = left->find_prebroken_piece (d); - if (bound->line_l ()) + if (!bound) + programming_error ("no broken bound"); + else if (bound->line_l ()) { Spanner * span_p = dynamic_cast<Spanner*>( clone ()); span_p->set_bound (LEFT, bound); -- 2.39.5