]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie.cc
release: 1.3.28
[lilypond.git] / lily / tie.cc
index 989861002c8890150dc0f7ebbcaf550245691736..b96a815dfa3b6a4df8b40d7dcc5f3564d0847976 100644 (file)
@@ -241,7 +241,7 @@ Tie::get_curve () const
       Real y0 = c.control_ [0][Y_AXIS];
       c.control_[2][Y_AXIS] = 
       c.control_[1][Y_AXIS] =
-       (c.control_[1][Y_AXIS] - y0)  * (newy / y) + y0; 
+       (c.control_[1][Y_AXIS] - y0)  * ((newy - y0) / (y - y0)) + y0; 
     }
   else
     programming_error ("Tie is nowhere horizontal");