gnu-music-discuss
[Top][All Lists]
Advanced

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

1.3.108: Bug? May be not ...


From: Han-Wen Nienhuys
Subject: 1.3.108: Bug? May be not ...
Date: Thu, 16 Nov 2000 11:04:39 +0100

address@hidden writes:
> Trying to process old .lys, I got the following
> error. Here are the .ly and the LOG file.

A small bug crept in .108, apply this

--- crescendo.cc~       Wed Nov 15 22:56:43 2000
+++ crescendo.cc        Thu Nov 16 10:59:24 2000
@@ -56,7 +56,11 @@
 
       if (!broken [d])
        {
-         Real r = b->extent (b, X_AXIS)[-d] + padding;
+
+         Interval e =b->extent (b, X_AXIS);
+         Real r = 0.0;
+         if (!e.empty_b ())
+           r = e[-d] + padding;
          width += d * r;
          extra_off[d] = r;
        }


-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/




reply via email to

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