X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Frest.cc;h=b274aab8725d90ab16f73616fdf7e0228e949dfd;hb=9f3572d98bb948c9689cd1f75401a029451fa001;hp=d7351d648aebf3ce7583876bb1bf8a6bac9ea2b3;hpb=04265f11d1f21416ccebd2dcaa1d903dc781b36e;p=lilypond.git diff --git a/lily/rest.cc b/lily/rest.cc index d7351d648a..b274aab872 100644 --- a/lily/rest.cc +++ b/lily/rest.cc @@ -27,9 +27,9 @@ Rest::y_offset_callback (SCM smob) 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) {