]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.16
authorfred <fred>
Wed, 11 Dec 1996 12:09:09 +0000 (12:09 +0000)
committerfred <fred>
Wed, 11 Dec 1996 12:09:09 +0000 (12:09 +0000)
src/texslur.cc

index 4a7fe02bc29b97d2048375109edaf00c2adfbf6f..eab9822940842a201bc1660efc10047fc42371b8 100644 (file)
@@ -174,7 +174,7 @@ Lookup::big_slur(int dy , Real &dx, int dir)
 {
     assert(dx >= convert_dimen(24,"pt"));
     Real slur_extra =ABS(dy)  /2.0 + 2; 
-    int l_dy = Real (dy)/2 + slur_extra*dir;
+    int l_dy = int(Real (dy)/2 + slur_extra*dir);
     int r_dy =  dy - l_dy;
     
     Real left_wid = dx/4.0;