X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fpitched-trill-engraver.cc;h=d29f6f42caf33ba91dc14b48a86ef3739ed29813;hb=8f5cd22af76fcb5c77853a5ede8b94ebef97caef;hp=33bb1a80848fb059576c57c5d89063d4f90e555d;hpb=adaa7aecab8595596fc6505402b40a37a04716e6;p=lilypond.git diff --git a/lily/pitched-trill-engraver.cc b/lily/pitched-trill-engraver.cc index 33bb1a8084..d29f6f42ca 100644 --- a/lily/pitched-trill-engraver.cc +++ b/lily/pitched-trill-engraver.cc @@ -110,7 +110,8 @@ Pitched_trill_engraver::make_trill (Stream_event *ev) trill_accidental_ = make_item ("TrillPitchAccidental", ev->self_scm ()); // fixme: naming -> alterations - trill_accidental_->set_property ("accidentals", scm_list_1 (scm_from_int (p->rounded_quartertone_pitch ()))); + trill_accidental_->set_property ("accidentals", scm_list_1 (scm_from_int (Rational (4) + * p->get_alteration ()))); Side_position_interface::add_support (trill_accidental_, trill_head_); trill_head_->set_object ("accidental-grob", trill_accidental_->self_scm ());