* Source/NSBezierPath.m (-elementAtIndex:associatedPoints:): Fix

handling of close element.
Patch by Bluna Ratimonkey <object@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36304 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2013-03-08 08:59:18 +00:00
parent a0616ff819
commit 86b587e9d7
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2013-03-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBezierPath.m (-elementAtIndex:associatedPoints:): Fix
handling of close element.
Patch by Bluna Ratimonkey <object@gmail.com>.
2013-03-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSHorizontalTypesetter.m: Change floats into CGFloats to

View file

@ -861,8 +861,7 @@ static CGFloat default_miter_limit = 10.0;
for (i = index - 1; i >= 0; i--)
{
elm = GSIArrayItemAtIndex(_pathElements, i).ext;
type = elm.type;
if (type == NSMoveToBezierPathElement)
if (elm.type == NSMoveToBezierPathElement)
{
points[0] = elm.points[0];
break;