[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/ksvg2/svg
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2005-11-30 18:38:40
Message-ID: 1133375920.678576.19919.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 484426 by buis:

Fix for #5881 in Webkit bugzilla.


 M  +2 -2      svgpathparser.cpp  


--- trunk/kdenonbeta/ksvg2/svg/svgpathparser.cpp #484425:484426
@@ -325,8 +325,8 @@
 
                         svgCurveToCubic( px1, py1, px2, py2, px3, py3 );
 
-                        contrlx = relative ? curx + x1 : (tox + 2 * x1) * (1.0 / 3.0);
-                        contrly = relative ? cury + y1 : (toy + 2 * y1) * (1.0 / 3.0);
+                        contrlx = relative ? curx + x1 : x1;
+                        contrly = relative ? cury + y1 : y1;
                         curx = relative ? curx + tox : tox;
                         cury = relative ? cury + toy : toy;
                     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic