]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/staff-symbol.hh
Issue 2300: do not tinker with the position of a pitched rest
[lilypond.git] / lily / include / staff-symbol.hh
index a8a68c34f0121372a53529f12343d201575dc220..688dccb0a686efd50e55eba44767522e2a9f1cde 100644 (file)
@@ -36,7 +36,7 @@ public:
   static vector<Real> line_positions (Grob *);
   static vector<Real> ledger_positions (Grob *me, int pos);
   static int line_count (Grob *);
-  static bool on_line (Grob *me, int pos);
+  static bool on_line (Grob *me, int pos, bool allow_ledger = true);
   static Interval line_span (Grob *);
   DECLARE_SCHEME_CALLBACK (print, (SCM));
   DECLARE_SCHEME_CALLBACK (height, (SCM));