From 3ac2c9eea03550dfee70254e25536ebd9863e023 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 9 Mar 2011 01:07:14 -0800 Subject: [PATCH] gdiplus: Avoid shadowing a parameter. --- dlls/gdiplus/graphicspath.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 992bd7ccacd..971ab3112c6 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -384,8 +384,7 @@ GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath *path, GDIPCONST GpPointF *po /* close figure */ if(stat == Ok){ - INT count = path->pathdata.Count; - path->pathdata.Types[count - 1] |= PathPointTypeCloseSubpath; + path->pathdata.Types[path->pathdata.Count - 1] |= PathPointTypeCloseSubpath; path->newfigure = TRUE; }