]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ligature-engraver.cc
Update.
[lilypond.git] / lily / ligature-engraver.cc
index 81523a0109d5056fc5050c3d7099c503c6736b3b..ab7dfebadb2e4829bf2d8fa7b4d9b922b52f48c2 100644 (file)
@@ -14,8 +14,6 @@
 #include "rest.hh"
 #include "spanner.hh"
 #include "stream-event.hh"
-#include "warn.hh"
-
 #include "translator.icc"
 
 /*
@@ -82,7 +80,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