]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/repeat-engraver.cc
release: 1.3.18
[lilypond.git] / lily / repeat-engraver.cc
index cdea34d4b270029e74273e509b0813225f772674..86b202972eac9e4d49e15c29498ff600b4de830f 100644 (file)
@@ -48,6 +48,8 @@ Repeat_engraver::do_try_music (Music* m)
 
 /**
  Walk through repeat music, and generate events for appropriate times.
+
+ UGH. Should use Music_iteration for this.
 */
 void
 Repeat_engraver::queue_events ()
@@ -176,8 +178,10 @@ Repeat_engraver::do_process_requests ()
              assert (!volta_span_p_);
              volta_span_p_ = new Volta_spanner;
              announce_element (Score_element_info (volta_span_p_,0));
-             volta_span_p_->number_str_ = t;
-             volta_span_p_->last_b_ = head->car_->last_b_;
+             volta_span_p_->set_elt_property ("text",
+                                              ly_str02scm (t.ch_C()));
+             volta_span_p_->set_elt_property ("last-volta",
+                                              gh_bool2scm (head->car_->last_b_));
              // voltaSpannerDuration stuff here.
              // other property stuff here.
            }