]> git.donarmstrong.com Git - lilypond.git/commitdiff
(connect_beams): don't crash if there are quarter
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 24 Sep 2002 20:09:14 +0000 (20:09 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 24 Sep 2002 20:09:14 +0000 (20:09 +0000)
notes in beams.

ChangeLog
lily/beam.cc

index ffea42db6cff29c0f24a733ad84989b686bf6f25..c428b08028a62fed6931941c5748437baec68f69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-24  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
+
+       * lily/beam.cc (connect_beams): don't crash if there are quarter
+       notes in beams.
+
 2002-09-24  Juergen Reuter  <reuter@ipd.uka.de>
 
        * Documentation/user/refman.itely: corrected ancient clef
index 3b76c373b96178950c25993a77d275764ecdc75f..bceef613bbd8978c7b977803a3ed177d9628df6c 100644 (file)
@@ -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,