]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-symbol-referencer.cc
*** empty log message ***
[lilypond.git] / lily / staff-symbol-referencer.cc
index 767aeb6d0098e1ba884e7f272e9a1a26792217b1..dec5000b2a944e299345ba9c74321544de2bfeff 100644 (file)
@@ -86,7 +86,7 @@ LY_DEFINE(ly_grob_staff_position,
   Real pos = Staff_symbol_referencer::get_position (g);
 
   if (fabs (rint (pos) -pos) < 1e-6) // ugh.
-    return gh_int2scm (lrint (pos));
+    return gh_int2scm ((int) my_round (pos));
   else
     return gh_double2scm (pos);
 }