]> git.donarmstrong.com Git - lilypond.git/commitdiff
Also allow a break when there is a grace note at the beginning
authorJoe Neeman <joeneeman@gmail.com>
Mon, 19 Feb 2007 08:27:25 +0000 (19:27 +1100)
committerJoe Neeman <joeneeman@gmail.com>
Mon, 19 Feb 2007 08:27:25 +0000 (19:27 +1100)
lily/bar-engraver.cc

index 263c7538bcd0557f49dfb798a05dfde4a94a1b0e..b5aa09e6b8e0eae558bd0b80ef6c25432d5e7e4e 100644 (file)
@@ -89,7 +89,7 @@ Bar_engraver::typeset_bar ()
 void
 Bar_engraver::stop_translation_timestep ()
 {
-  if (!bar_ && now_mom () != Moment (Rational (0), Rational (0)))
+  if (!bar_ && now_mom ().main_part_ > Rational (0))
     context ()->get_score_context ()->set_property ("forbidBreak", SCM_BOOL_T);
   else
     typeset_bar ();