]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/chord-name-engraver.cc
(get_font_by_design_size): retrieve
[lilypond.git] / lily / chord-name-engraver.cc
index 7982645663811f3632b46e75a0e05f3789d0de2c..44c1333d7a383a333261c813594a87ed03e12b8c 100644 (file)
@@ -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",