From 14a88203657dac1d147c1874c3889809ac4f64c0 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sun, 24 Dec 2006 16:15:13 +0100 Subject: [PATCH] nitpicks. --- lily/accidental-engraver.cc | 4 ++-- lily/beaming-pattern.cc | 3 +-- lily/tie.cc | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lily/accidental-engraver.cc b/lily/accidental-engraver.cc index a325a017d6..c7eb79955a 100644 --- a/lily/accidental-engraver.cc +++ b/lily/accidental-engraver.cc @@ -159,10 +159,10 @@ extract_alteration (SCM alteration_def) else if (scm_is_pair (alteration_def)) return ly_scm2rational (scm_car (alteration_def)); else if (alteration_def == SCM_BOOL_F) - return 0; + return Rational (0); else assert (0); - return 0; + return Rational (0); } bool diff --git a/lily/beaming-pattern.cc b/lily/beaming-pattern.cc index 8966657e48..092c6b673d 100644 --- a/lily/beaming-pattern.cc +++ b/lily/beaming-pattern.cc @@ -30,8 +30,7 @@ Beam_rhythmic_element::de_grace () { if (start_moment_.grace_part_) { - start_moment_.main_part_ = - start_moment_.grace_part_; + start_moment_.main_part_ = start_moment_.grace_part_; start_moment_.grace_part_ = 0; } } diff --git a/lily/tie.cc b/lily/tie.cc index 2aab6ac2b1..73041c6a83 100644 --- a/lily/tie.cc +++ b/lily/tie.cc @@ -300,6 +300,7 @@ ADD_INTERFACE (Tie, "dash-period " "details " "direction " + "head-direction " "line-thickness " "quant-score " "staff-position " -- 2.39.5