From: Han-Wen Nienhuys Date: Tue, 24 Sep 2002 20:09:14 +0000 (+0000) Subject: (connect_beams): don't crash if there are quarter X-Git-Tag: release/1.7.1~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b521f0dac77c28d2d869a7612a3e0bde96f67112;p=lilypond.git (connect_beams): don't crash if there are quarter notes in beams. --- diff --git a/ChangeLog b/ChangeLog index ffea42db6c..c428b08028 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..bceef613bb 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,