]> git.donarmstrong.com Git - lilypond.git/commitdiff
* lily/rest.cc (after_line_breaking): bugfix: dots after half
authorRune Zedeler <rune@lilypond.org>
Mon, 14 Oct 2002 13:43:29 +0000 (13:43 +0000)
committerRune Zedeler <rune@lilypond.org>
Mon, 14 Oct 2002 13:43:29 +0000 (13:43 +0000)
and breve rests.

ChangeLog
lily/rest.cc

index fb83ca18bfccd02ff97c01a627c0b222a8e8c65c..8cc94865d2a696f932949020851b788c42a106ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-10-14  Rune Zedeler  <rune@zedeler.dk>
 
+       * lily/rest.cc (after_line_breaking): bugfix: dots after half
+       and breve rests.
+       
        * input/test/blank-notes.ly: bugfix
 
        * lily/rest.cc (after_line_breaking): bugfix: dots after whole
index 2aac1abf34edf81a5e2294ed1658139d2f47084d..c0a45c9ad99073af0e47f7abf1d0712583c4200f 100644 (file)
@@ -41,10 +41,10 @@ Rest::after_line_breaking (SCM smob)
       d->set_grob_property ("staff-position",
                            gh_int2scm ((bt == 7) ? 4 : 3));
     }
-  if (d && bt == 0) // UGH again.
+  if (d && bt >= -1 && bt <= 1) // UGH again.
     {
       d->set_grob_property ("staff-position",
-                           gh_int2scm (-1));
+                           gh_int2scm ((bt == 0) ? -1 : 1));
     }
   return SCM_UNSPECIFIED;
 }