]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-symbol-referencer-scheme.cc
Grand fixcc.py run on all .hh .cc files.
[lilypond.git] / lily / staff-symbol-referencer-scheme.cc
index e954dd37feffdd8164a1b8b3eba9a468e69e995c..35cd814f0c10fba5870530609b2b7bf9eee5e9b7 100644 (file)
@@ -30,7 +30,7 @@ LY_DEFINE (ly_grob_staff_position, "ly:grob-staff-position",
   Grob *g = unsmob_grob (sg);
   Real pos = Staff_symbol_referencer::get_position (g);
 
-  if (fabs (rint (pos) -pos) < 1e-6) // ugh.
+  if (fabs (rint (pos) - pos) < 1e-6) // ugh.
     return scm_from_int ((int) my_round (pos));
   else
     return scm_from_double (pos);