From: Han-Wen Nienhuys Date: Thu, 21 Dec 2006 00:13:54 +0000 (+0100) Subject: formatting nits X-Git-Tag: release/2.11.5-1~44 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f879c577c83d1aa386af27d7f8179e2f39458c73;p=lilypond.git formatting nits --- diff --git a/lily/accidental-engraver.cc b/lily/accidental-engraver.cc index 5a15fbbd36..a94f553d06 100644 --- a/lily/accidental-engraver.cc +++ b/lily/accidental-engraver.cc @@ -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 " + ); diff --git a/lily/align-interface.cc b/lily/align-interface.cc index 2f23220c5a..e4505675df 100644 --- a/lily/align-interface.cc +++ b/lily/align-interface.cc @@ -274,8 +274,8 @@ Align_interface::align_elements_to_extents (Grob *me, Axis a) vector 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