From 6978dcd32b8f66994423058c3c21f800593b649f Mon Sep 17 00:00:00 2001 From: Rune Zedeler Date: Mon, 14 Oct 2002 13:43:29 +0000 Subject: [PATCH] * lily/rest.cc (after_line_breaking): bugfix: dots after half and breve rests. --- ChangeLog | 3 +++ lily/rest.cc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb83ca18bf..8cc94865d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-10-14 Rune Zedeler + * 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 diff --git a/lily/rest.cc b/lily/rest.cc index 2aac1abf34..c0a45c9ad9 100644 --- a/lily/rest.cc +++ b/lily/rest.cc @@ -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; } -- 2.39.5