X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Flocal-key-item.cc;h=f0bf3e57e650b3aacc551516d9ee6c88261711dd;hb=48f2b9351f93d0161c675cfb60e95bf919041df2;hp=cdc25c0b438af41d0e03e982cee0c65de9085106;hpb=2ee36a10bca886544a2969b3adbc72ac28c1acf9;p=lilypond.git diff --git a/lily/local-key-item.cc b/lily/local-key-item.cc index cdc25c0b43..f0bf3e57e6 100644 --- a/lily/local-key-item.cc +++ b/lily/local-key-item.cc @@ -17,7 +17,6 @@ Local_key_item::Local_key_item () { - c0_position_i_ = 0; } void @@ -90,8 +89,9 @@ Local_key_item::do_brew_molecule_p() const } lastoct = p.octave_i_; - Real dy = - (c0_position_i_ + p.notename_i_) + + SCM c0 = get_elt_property ("c0-position"); + Real dy = (gh_number_p (c0) ? gh_scm2int (c0) : 0 + p.notename_i_) * note_distance; Molecule m (accidental (p.accidental_i_,