]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-symbol-referencer.cc
Cosmetic nits.
[lilypond.git] / lily / staff-symbol-referencer.cc
index 2077a50082bc3e5f10c0c43995b5158bbe64914f..dbff0245c609874af177b329914bafcc8d1056d5 100644 (file)
@@ -35,8 +35,7 @@ Staff_symbol_referencer::on_staff_line (Grob *me)
 bool
 Staff_symbol_referencer::on_line (Grob *me, int pos)
 {
-  int sz = line_count (me) - 1;
-  return ((pos + sz) % 2) == 0;
+  return Staff_symbol::on_line (me, pos);
 }
 
 bool
@@ -109,8 +108,6 @@ Staff_symbol_referencer::extent_in_staff (Grob *me)
   return retval;
 }
 
-
-
 int
 Staff_symbol_referencer::get_rounded_position (Grob *me)
 {
@@ -183,12 +180,11 @@ position_less (Grob *const &a, Grob *const &b)
 }
 
 ADD_INTERFACE (Staff_symbol_referencer,
-              "An object whose Y@tie{}position is meant relative to a staff "
-              "symbol.  These usually "
-              "have @code{Staff_symbol_referencer::callback} in their "
-              "@code{Y-offset-callbacks}.",
+              "An object whose Y@tie{}position is meant relative to a staff"
+              " symbol.  These usually"
+              " have @code{Staff_symbol_referencer::callback} in their"
+              " @code{Y-offset-callbacks}.",
 
               /* properties */
               "staff-position "
               );
-              
\ No newline at end of file