]> git.donarmstrong.com Git - lilypond.git/commitdiff
formatting nits
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 21 Dec 2006 00:13:54 +0000 (01:13 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 21 Dec 2006 00:13:54 +0000 (01:13 +0100)
lily/accidental-engraver.cc
lily/align-interface.cc

index 5a15fbbd364a5d170524c3bb9cd1a101855f047f..a94f553d065576f2bcec2e2a3d5d4b714be10bf4 100644 (file)
@@ -67,6 +67,7 @@ protected:
 
   void stop_translation_timestep ();
   void process_acknowledged ();
+  
   virtual void finalize ();
   virtual void derived_mark () const;
 
@@ -353,7 +354,6 @@ Accidental_engraver::process_acknowledged ()
              && !note->in_event_class ("trill-span-event"))
            create_accidental (&accidentals_[i], num > 1, cautionary);
 
-
          if (forced || cautionary)
            accidentals_[i].accidental_->set_property ("forced", SCM_BOOL_T);
        }
@@ -397,8 +397,8 @@ Accidental_engraver::make_standard_accidental (Stream_event *note,
                                               Grob *note_head,
                                               Engraver *trans)
 {
-
   (void)note;
+
   /*
     We construct the accidentals at the originating Voice
     level, so that we get the property settings for
@@ -440,6 +440,7 @@ Accidental_engraver::make_suggested_accidental (Stream_event *note,
                                                Engraver *trans)
 {
   (void) note;
+
   Grob *a = trans->make_item ("AccidentalSuggestion", note_head->self_scm ());
 
   Side_position_interface::add_support (a, note_head);
@@ -605,5 +606,6 @@ ADD_TRANSLATOR (Accidental_engraver,
                "internalBarNumber "
                "extraNatural "
                "harmonicAccidentals "
-               "localKeySignature",
-               "localKeySignature");
+               "localKeySignature ",
+               "localKeySignature "
+               );
index 2f23220c5a1bfe518f3b5998b8c063101eb54835..e4505675dff7620cf08f68bff9015f86b4d8e013 100644 (file)
@@ -274,8 +274,8 @@ Align_interface::align_elements_to_extents (Grob *me, Axis a)
 
   vector<Real> translates = get_extents_aligned_translates (me, all_grobs, a, false, 0, 0);
   if (translates.size ())
-      for (vsize j = 0; j < all_grobs.size (); j++)
-       all_grobs[j]->translate_axis (translates[j], a);
+    for (vsize j = 0; j < all_grobs.size (); j++)
+      all_grobs[j]->translate_axis (translates[j], a);
 }
 
 Real