gdiplus: avoid shadowing a parameter
Austin English
austinenglish at gmail.com
Wed Mar 9 03:07:14 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 992bd7c..334e9b1 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -384,8 +384,8 @@ GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath *path, GDIPCONST GpPointF *po
/* close figure */
if(stat == Ok){
- INT count = path->pathdata.Count;
- path->pathdata.Types[count - 1] |= PathPointTypeCloseSubpath;
+ INT pcount = path->pathdata.Count;
+ path->pathdata.Types[pcount - 1] |= PathPointTypeCloseSubpath;
path->newfigure = TRUE;
}
More information about the wine-patches
mailing list