]> git.donarmstrong.com Git - lilypond.git/commitdiff
tremolo segfault
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 3 Jun 2002 22:50:54 +0000 (22:50 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 3 Jun 2002 22:50:54 +0000 (22:50 +0000)
Documentation/user/introduction.itely [new file with mode: 0644]
lily/stem.cc
lily/warn.cc

diff --git a/Documentation/user/introduction.itely b/Documentation/user/introduction.itely
new file mode 100644 (file)
index 0000000..71c6301
--- /dev/null
@@ -0,0 +1,14 @@
+
+@node Introduction
+@chapter Introduction
+
+
+@section 
+
+@section Why LilyPond
+
+@section Music typography
+
+
+@section Automatic music printing
+
index 16fa3f2579e21fc0311aa6c693b8ca18be34cf8a..ef0ed4ec3c6b6ea7a87d22d6f3598e74cd1d86f0 100644 (file)
@@ -800,8 +800,12 @@ Stem::calc_stem_info (Grob*me)
 
   Real stem_length =  a[multiplicity <? (a.size () - 1)] * staff_space;
 
-  Direction first_dir = Directional_element_interface::get
-    (Beam::first_visible_stem (beam));
+  Grob *fvs = Beam::first_visible_stem (beam);
+
+  /*
+    Let's hope people don't use kneed tremolo beams.
+   */
+  Direction first_dir = fvs ? Directional_element_interface::get(fvs) : mydir;
 
   // FIXME, hairy.  see beam::calc_stem_y, for knees it's not trival
   // to calculate where secondary, ternary beams will go.
index 492824563cae634cb9164d519b3113ff4586fd6d..f942e1cda953043abe657af9c4ee2ec4b82d1fc2 100644 (file)
@@ -7,6 +7,7 @@
 */
 
 #include <stdio.h>
+
 #include "string.hh"
 
 void