diff options
author | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2006-12-08 18:51:35 +0100 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@xs4all.nl> | 2006-12-08 18:51:35 +0100 |
commit | dffe9705366ffb44b30af7a7d3d314c752ac93d5 (patch) | |
tree | fd62e158bc7a1e8fb1fe22d47edaab8886ffbcab /lily | |
parent | 44ab7695ff27e0d2c8ff1108fe1ec23df6d7fe32 (diff) |
really fix #171
Diffstat (limited to 'lily')
-rw-r--r-- | lily/spanner.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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<Item*> 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 (); } |