X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fquote-iterator.cc;h=3eaf002c0b9557d1705e777cf8f077fb2e73931f;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=849472c329a34a52ca1e594740231e6281cb34a9;hpb=9e69cb84d6ee5b0a861cd97869b10e3bdf0c833c;p=lilypond.git diff --git a/lily/quote-iterator.cc b/lily/quote-iterator.cc index 849472c329..3eaf002c0b 100644 --- a/lily/quote-iterator.cc +++ b/lily/quote-iterator.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2006 Han-Wen Nienhuys + (c) 2004--2008 Han-Wen Nienhuys */ #include "music-wrapper-iterator.hh" @@ -244,9 +244,9 @@ Quote_iterator::process (Moment m) mp = *me_pitch; Pitch diff = pitch_interval (qp, mp); - - SCM props = transpose_mutable (ev->get_property_alist (true), diff); - ev = new Stream_event (ev->get_property ("class"), props); + ev = ev->clone (); + + transpose_mutable (ev->get_property_alist (true), diff); transposed_musics_ = scm_cons (ev->unprotect (), transposed_musics_); } quote_outlet_.get_outlet ()->event_source ()->broadcast (ev);