From 4f4741b12c9882d1d1361344d743baae93d63670 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Tue, 24 Sep 2002 20:04:32 +0000 Subject: [PATCH] (connect_beams): don't crash if there are quarter notes in beams. --- ChangeLog | 5 +++++ lily/beam.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e24dac25f4..de3c291a4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-09-24 Han-Wen Nienhuys + + * lily/beam.cc (connect_beams): don't crash if there are quarter + notes in beams. + 2002-09-24 Juergen Reuter * Documentation/user/refman.itely: corrected ancient clef diff --git a/lily/beam.cc b/lily/beam.cc index 3b76c373b9..66efc81512 100644 --- a/lily/beam.cc +++ b/lily/beam.cc @@ -234,7 +234,7 @@ Beam::connect_beams (Grob *me) SCM this_beaming = this_stem->get_grob_property ("beaming"); Direction this_dir = Directional_element_interface::get(this_stem); - if (i > 0) + if (gh_pair_p (last_beaming) && gh_pair_p (this_beaming)) { int start_point = position_with_maximal_common_beams (last_beaming, this_beaming, -- 2.39.5