From dffe9705366ffb44b30af7a7d3d314c752ac93d5 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 8 Dec 2006 18:51:35 +0100 Subject: really fix #171 --- lily/spanner.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lily/spanner.cc') diff --git a/lily/spanner.cc b/lily/spanner.cc index 61051bb9dd..c0ac823b02 100644 --- a/lily/spanner.cc +++ b/lily/spanner.cc @@ -343,17 +343,17 @@ Spanner::set_spacing_rods (SCM smob) System *root = get_root_system (me); vector cols (root->broken_col_range (sp->get_bound (LEFT)->get_column (), - sp->get_bound (LEFT)->get_column ())); + sp->get_bound (RIGHT)->get_column ())); - if (cols.size () ) + if (cols.size ()) { Rod r ; r.item_drul_[LEFT] = sp->get_bound (LEFT); - r.item_drul_[RIGHT] =cols[0]; + r.item_drul_[RIGHT] = cols[0]->find_prebroken_piece (LEFT); r.distance_ = robust_scm2double (num_length, 0); r.add_to_cols (); - r.item_drul_[LEFT] = cols.back (); + r.item_drul_[LEFT] = cols.back ()->find_prebroken_piece (RIGHT); r.item_drul_[RIGHT] = sp->get_bound (RIGHT); r.add_to_cols (); } -- cgit v1.2.3