X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fstem-tremolo.cc;h=9bb588db4f73450917cfe182143ffad014aac300;hb=c3ff1c6cd20e15e9036ee7120012e05b1d62a46d;hp=cf927a5e51a8253a8df1ae5b45f5dc9693dad597;hpb=1cdd20054babbf7ce6eb6a135854abc2d8f00f8f;p=lilypond.git diff --git a/lily/stem-tremolo.cc b/lily/stem-tremolo.cc index cf927a5e51..9bb588db4f 100644 --- a/lily/stem-tremolo.cc +++ b/lily/stem-tremolo.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2006 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ #include "stem-tremolo.hh" @@ -33,8 +33,8 @@ Stem_tremolo::calc_slope (SCM smob) if (is_number_pair (s)) dy = - scm_to_double (scm_car (s)) + scm_to_double (scm_cdr (s)); - Grob *s2 = Beam::last_visible_stem (beam); - Grob *s1 = Beam::first_visible_stem (beam); + Grob *s2 = Beam::last_normal_stem (beam); + Grob *s1 = Beam::first_normal_stem (beam); Grob *common = s1->common_refpoint (s2, X_AXIS); Real dx = s2->relative_coordinate (common, X_AXIS) - @@ -160,7 +160,7 @@ Stem_tremolo::untranslated_stencil (Grob *me, Real slope) if (!stem) { programming_error ("no stem for stem-tremolo"); - return Stencil(); + return Stencil (); } Direction stemdir = get_grob_direction (stem);