From: Han-Wen Nienhuys Date: Sat, 28 Jan 2006 00:57:09 +0000 (+0000) Subject: * lily/staff-symbol-referencer.cc (on_staff_line): idem. X-Git-Tag: release/2.7.30~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=049dc237134828b350a240eb27b022bf1d01059a;p=lilypond.git * lily/staff-symbol-referencer.cc (on_staff_line): idem. * lily/tie-formatting-problem.cc (set_ties_config_standard_directions): use abs iso fabs for ints. --- diff --git a/ChangeLog b/ChangeLog index 24f39002c5..7b8a73bd88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-01-28 Han-Wen Nienhuys + * lily/staff-symbol-referencer.cc (on_staff_line): idem. + + * lily/tie-formatting-problem.cc + (set_ties_config_standard_directions): use abs iso fabs for ints. + * Documentation/topdocs/INSTALL.texi (Top): document ncsb requirement. * mf/feta-bolletjes.mf (overdone_heads): solfa_noteheight, a diff --git a/lily/staff-symbol-referencer.cc b/lily/staff-symbol-referencer.cc index 367bed131d..b866302a21 100644 --- a/lily/staff-symbol-referencer.cc +++ b/lily/staff-symbol-referencer.cc @@ -42,7 +42,7 @@ Staff_symbol_referencer::on_line (Grob *me, int pos) bool Staff_symbol_referencer::on_staff_line (Grob *me, int pos) { - return on_line (me, pos) && fabs (pos) <= 2 * staff_radius (me); + return on_line (me, pos) && abs (pos) <= 2 * staff_radius (me); } Grob * diff --git a/lily/tie-formatting-problem.cc b/lily/tie-formatting-problem.cc index c0c31a31ac..87ea44b36b 100644 --- a/lily/tie-formatting-problem.cc +++ b/lily/tie-formatting-problem.cc @@ -334,7 +334,7 @@ Tie_formatting_problem::generate_configuration (int pos, Direction dir) const if (h < details_.intra_space_threshold_ * 0.5 * details_.staff_space_) { if (!Staff_symbol_referencer::on_line (details_.staff_symbol_referencer_, pos) - && fabs (pos) < 2 * Staff_symbol_referencer::staff_radius (details_.staff_symbol_referencer_)) + && abs (pos) < 2 * Staff_symbol_referencer::staff_radius (details_.staff_symbol_referencer_)) { conf->center_tie_vertically (details_); }