From 0726b2f0dd1c844f8b0117e8b4ebb5974c0ca21d Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 27 Mar 2002 00:35:32 +0000 Subject: [PATCH] lilypond-1.3.130 --- lily/note-head.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lily/note-head.cc b/lily/note-head.cc index 9af3c41f2a..bfd06f0807 100644 --- a/lily/note-head.cc +++ b/lily/note-head.cc @@ -5,6 +5,7 @@ (c) 1997--2000 Han-Wen Nienhuys */ +#include #include "misc.hh" #include "dots.hh" @@ -60,7 +61,7 @@ Note_head::brew_molecule (SCM smob) Real inter_f = Staff_symbol_referencer::staff_space (me)/2; int sz = Staff_symbol_referencer::line_count (me)-1; - int p = (int)Staff_symbol_referencer::position_f (me); + int p = (int) rint (Staff_symbol_referencer::position_f (me)); int streepjes_i = abs (p) < sz ? 0 : (abs(p) - sz) /2; -- 2.39.5