]> 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:04:32 +0000 (20:04 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 24 Sep 2002 20:04:32 +0000 (20:04 +0000)
notes in beams.

ChangeLog
lily/beam.cc

index e24dac25f495c77ca1895bb7353993bb31ec13a8..de3c291a4deab304eb1167d8b62b16db63384e90 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..66efc81512ce9eaa406d683e70f1287b723e3252 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,