X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchord-name-engraver.cc;h=44c1333d7a383a333261c813594a87ed03e12b8c;hb=e48ad720d23509d883e3fbe946c7264d88467918;hp=7982645663811f3632b46e75a0e05f3789d0de2c;hpb=c659cb200486c2f908703696a1b2873e78c8160a;p=lilypond.git diff --git a/lily/chord-name-engraver.cc b/lily/chord-name-engraver.cc index 7982645663..44c1333d7a 100644 --- a/lily/chord-name-engraver.cc +++ b/lily/chord-name-engraver.cc @@ -71,7 +71,7 @@ Chord_name_engraver::process_music () SCM pitches = SCM_EOL; Music* inversion_event = 0; - for (int i =0 ; i < notes_.size (); i++) + for (int i = 0 ; i < notes_.size (); i++) { Music *n = notes_[i]; SCM p = n->get_property ("pitch"); @@ -98,7 +98,7 @@ Chord_name_engraver::process_music () int octavation = scm_to_int (oct); Pitch orig = p->transposed (Pitch (-octavation, 0,0)); - pitches= scm_cons (orig.smobbed_copy (), pitches); + pitches = scm_cons (orig.smobbed_copy (), pitches); } else programming_error ("Inversion does not have original pitch."); @@ -151,7 +151,7 @@ Chord_name_engraver::stop_translation_timestep () The READs description is not strictly accurate: which properties are read depend on the chord naming function active. */ -ENTER_DESCRIPTION (Chord_name_engraver, +ADD_TRANSLATOR (Chord_name_engraver, /* descr */ "Catch note-events " "and generate the appropriate chordname.", /* creats*/ "ChordName",