From: fred Date: Sun, 24 Mar 2002 19:50:51 +0000 (+0000) Subject: lilypond-0.1.7 X-Git-Tag: release/1.5.59~4289 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4eb80b4e5b21e47bd1b0e3e435baa0319cff8630;p=lilypond.git lilypond-0.1.7 --- diff --git a/lily/staff-side.cc b/lily/staff-side.cc index a661a0cb97..6cade842a5 100644 --- a/lily/staff-side.cc +++ b/lily/staff-side.cc @@ -106,13 +106,7 @@ Staff_side::do_post_processing() void Staff_side::do_substitute_dependency(Score_elem*o, Score_elem*n) { - int i; - while ((i=support_l_arr_.find_i(o) ) >=0) - if (n) - support_l_arr_[i] = n; - else - support_l_arr_.del(i); - + support_l_arr_.unordered_substitute(o,n); if (staff_sym_l_ == o) staff_sym_l_ = n ? (Staff_symbol*) n->spanner():0; }