]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/forbid-break-engraver.cc
Thinko: compare abs of both positions.
[lilypond.git] / lily / forbid-break-engraver.cc
index 14471e8ec62b944102fe12d516b5725760a8dd91..c44bbb6012f300f058754c84e8ad50729f72c525 100644 (file)
@@ -5,14 +5,13 @@
 
   (c) 2002--_2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
+#include "context.hh"
 #include "duration.hh"
-#include "grob.hh"
 #include "engraver.hh"
+#include "grob.hh"
 #include "input.hh"
-#include "moment.hh"
 #include "pitch.hh"
 #include "rhythmic-head.hh"
-#include "score-context.hh"
 
 #include "translator.icc"
 
@@ -52,6 +51,5 @@ ADD_TRANSLATOR (Forbid_line_break_engraver,
                /* doc */ "Forbid line breaks when note heads "
                "are still playing at some point.",
                /* create */ "",
-               /* accept */ "",
                /* read */ "busyGrobs",
                /* write */ "forbidBreak");