From: hanwen <hanwen> Date: Mon, 3 Jun 2002 22:50:54 +0000 (+0000) Subject: tremolo segfault X-Git-Tag: release/1.5.60~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=445fc402e2ec1ba502e89a559275a861f743284f;p=lilypond.git tremolo segfault --- diff --git a/Documentation/user/introduction.itely b/Documentation/user/introduction.itely new file mode 100644 index 0000000000..71c630166e --- /dev/null +++ b/Documentation/user/introduction.itely @@ -0,0 +1,14 @@ + +@node Introduction +@chapter Introduction + + +@section + +@section Why LilyPond + +@section Music typography + + +@section Automatic music printing + diff --git a/lily/stem.cc b/lily/stem.cc index 16fa3f2579..ef0ed4ec3c 100644 --- a/lily/stem.cc +++ b/lily/stem.cc @@ -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. diff --git a/lily/warn.cc b/lily/warn.cc index 492824563c..f942e1cda9 100644 --- a/lily/warn.cc +++ b/lily/warn.cc @@ -7,6 +7,7 @@ */ #include <stdio.h> + #include "string.hh" void