]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-symbol-referencer.cc
patch::: 1.3.129.jcn3
[lilypond.git] / lily / staff-symbol-referencer.cc
index 1341bf9a02625e26e01f8a825ed42430508c05da..da1ae75483d048657b5fa09118f272585406e375 100644 (file)
@@ -11,7 +11,7 @@
 #include "staff-symbol-referencer.hh"
 #include "staff-symbol.hh"
 #include "paper-def.hh"
-
 bool
 Staff_symbol_referencer::has_interface (Grob*e)
 {
@@ -29,7 +29,7 @@ Staff_symbol_referencer::line_count (Grob*me)
 bool
 Staff_symbol_referencer::on_staffline (Grob*me)
 {
-  return on_staffline (me, (int) position_f (me));
+  return on_staffline (me, (int) rint (position_f (me)));
 }
 
 bool