From: Han-Wen Nienhuys Date: Tue, 24 Sep 2002 20:04:32 +0000 (+0000) Subject: (connect_beams): don't crash if there are quarter X-Git-Tag: release/1.6.5~8 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4f4741b12c9882d1d1361344d743baae93d63670;p=lilypond.git (connect_beams): don't crash if there are quarter notes in beams. --- 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,