override based on scm_is_number(). Fixes \rest on center staff
line
2006-06-13 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * lily/rest.cc (y_offset_callback): bugfix: decide position
+ override based on scm_is_number(). Fixes \rest on center staff
+ line
+
* lily/beaming-pattern.cc (best_splitpoint_index): fix beaming
patterns for 16th triplets.
int line_count = Staff_symbol_referencer::line_count (me);
Real ss = Staff_symbol_referencer::staff_space (me);
+ bool position_override = scm_is_number (me->get_property ("staff-position"));
Real amount = robust_scm2double (me->get_property ("staff-position"), 0)
* 0.5 * ss;
- bool position_override = amount;
if (line_count % 2)
{