]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ambitus-engraver.cc
Nitpick run.
[lilypond.git] / lily / ambitus-engraver.cc
index 05330364b8b25d79430fb4857c2dcfafe69dc543..7fdd2fadf0b9c976ba0cca1b78aa2c9ea136c6ad 100644 (file)
@@ -58,7 +58,7 @@ Ambitus_engraver::create_ambitus ()
       accidentals_[d] = make_item ("AmbitusAccidental", SCM_EOL);
       accidentals_[d]->set_parent (heads_[d], Y_AXIS);
       heads_[d]->set_object ("accidental-grob",
-                              accidentals_[d]->self_scm ());
+                            accidentals_[d]->self_scm ());
       Axis_group_interface::add_element (group_, heads_[d]);
       Axis_group_interface::add_element (group_, accidentals_[d]);
       Side_position_interface::add_support (accidentals_[d], heads_[d]);
@@ -91,9 +91,7 @@ Ambitus_engraver::process_music ()
    * be placed after the rest.
    */
   if (!ambitus_)
-    {
-      create_ambitus ();
-    }
+    create_ambitus ();
 }
 
 void
@@ -148,7 +146,7 @@ Ambitus_engraver::finalize ()
 
          int sig_alter = (handle != SCM_BOOL_F)
            ? scm_to_int (scm_cdr (handle)) : 0;
-         
+
          if (sig_alter == p.get_alteration ())
            {
              accidentals_[d]->suicide ();
@@ -158,13 +156,12 @@ Ambitus_engraver::finalize ()
            {
              SCM l = scm_list_1 (scm_from_int (p.get_alteration ()));
              accidentals_[d]->set_property ("accidentals", l);
-                       
            }
        }
       while (flip (&d) != DOWN);
 
       ambitus_->set_object ("note-heads", scm_list_2 (heads_[DOWN]->self_scm (),
-                                                       heads_[UP]->self_scm ()));
+                                                     heads_[UP]->self_scm ()));
     }
   else
     {
@@ -180,11 +177,10 @@ Ambitus_engraver::finalize ()
     }
 }
 
-
-ADD_ACKNOWLEDGER(Ambitus_engraver, note_head);
+ADD_ACKNOWLEDGER (Ambitus_engraver, note_head);
 ADD_TRANSLATOR (Ambitus_engraver,
-               /* descr */ "",
-               /* creats*/ "Ambitus AmbitusLine AmbitusNoteHead AmbitusAccidental",
-               /* accepts */ "",
-               /* reads */ "",
+               /* doc */ "",
+               /* creat*/ "Ambitus AmbitusLine AmbitusNoteHead AmbitusAccidental",
+               /* accept */ "",
+               /* read */ "",
                /* write */ "");