]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/headreg.cc
release: 0.0.44
[lilypond.git] / lily / headreg.cc
index 7f1a9bbae899ff49d2a56438f7f4681dc70b5670..93ea9b2d08e5ca8c1bc9492d500b773d08a1070c 100644 (file)
@@ -48,9 +48,8 @@ Notehead_register::process_requests()
        n_p->position = note_req_l_->note()->height() +
            *get_staff_info().c0_position_i_;
     } else {
-       note_p_ = new Rest ( note_req_l_->rhythmic()->balltype,
-                            note_req_l_->rhythmic()->dots);
-       if (note_req_l_->rhythmic()->balltype <= 2)
+       note_p_ = new Rest ( note_req_l_->rhythmic()->duration_);
+       if (note_req_l_->rhythmic()->duration_.type_i_ <= 2)
            note_p_->translate(
                Offset(0,
                       6 * paper()->internote()));