lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zig-zag patch


From: Rune Zedeler
Subject: Re: zig-zag patch
Date: Tue, 15 Oct 2002 02:37:23 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Rune Zedeler wrote:
Inspired by the recent discussion on user.

Bah, silly bug.

-Rune
--- lily/line-spanner.old       Tue Oct 15 02:35:12 2002
+++ lily/line-spanner.cc        Tue Oct 15 02:35:23 2002
@@ -68,7 +68,7 @@
   SCM ws = me->get_grob_property ("zigzag-width");
   SCM ls = me->get_grob_property ("zigzag-length");
   double w = (gh_number_p(ws) ? gh_scm2double(ws) : 1)*staff_space;
-  double l = (gh_number_p(ls) ? gh_scm2double(ls) : 1);
+  double l = (gh_number_p(ls) ? gh_scm2double(ls) : 1)*w;
   double h = l>w/2 ? sqrt(l*l-w*w/4) : 0;
   
   SCM list = scm_list_n (ly_symbol2scm ("zigzag-line"),

reply via email to

[Prev in Thread] Current Thread [Next in Thread]