]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ligature-engraver.cc
* lily/page-turn-engraver.cc (breakable_column): remove an always-true
[lilypond.git] / lily / ligature-engraver.cc
index 98e840b1ffaadaaeed005192c62a978da5b7afe0..9922ca1c4819706cb478cf74aa55bcdb5bd2115f 100644 (file)
@@ -82,7 +82,7 @@ void
 Ligature_engraver::listen_ligature (Stream_event *ev)
 {
   Direction d = to_dir (ev->get_property ("span-direction"));
-  events_drul_[d] = ev;
+  ASSIGN_EVENT_ONCE (events_drul_[d], ev);
 }
 
 void
@@ -189,7 +189,7 @@ Ligature_engraver::acknowledge_note_head (Grob_info info)
   if (ligature_)
     {
       primitives_.push_back (info);
-      if (info.grob () && (brew_ligature_primitive_proc != SCM_EOL))
+      if (info.grob () && brew_ligature_primitive_proc != SCM_EOL)
        {
          info.grob ()->set_property ("stencil", brew_ligature_primitive_proc);
        }