X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fstaff-symbol-engraver.cc;h=0b0d212a90502006e121fca8c19d0b66d60002c5;hb=730dd1aeadf4609b4a08bd08702c1a478f11d372;hp=d4e57955fceb01b030fc7086cf034052dbe62696;hpb=c4c0ba811cd526f047de3f4d3c77abcc32a3e076;p=lilypond.git diff --git a/lily/staff-symbol-engraver.cc b/lily/staff-symbol-engraver.cc index d4e57955fc..0b0d212a90 100644 --- a/lily/staff-symbol-engraver.cc +++ b/lily/staff-symbol-engraver.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2006 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ #include "engraver.hh" @@ -57,7 +57,7 @@ Staff_symbol_engraver::listen_staff_span (Stream_event *ev) { Direction d = to_dir (ev->get_property ("span-direction")); if (d) - span_events_[d] = ev; + ASSIGN_EVENT_ONCE (span_events_[d], ev); else programming_error (_ ("staff-span event has no direction")); } @@ -151,6 +151,5 @@ ADD_TRANSLATOR (Staff_symbol_engraver, /* doc */ "Create the constellation of five (default) " "staff lines.", /* create */ "StaffSymbol", - /* accept */ "staff-span-event", /* read */ "", /* write */ "");