Austin English : gdiplus: Avoid shadowing a parameter.
Alexandre Julliard
julliard at winehq.org
Wed Mar 9 11:12:50 CST 2011
Module: wine
Branch: master
Commit: 3ac2c9eea03550dfee70254e25536ebd9863e023
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ac2c9eea03550dfee70254e25536ebd9863e023
Author: Austin English <austinenglish at gmail.com>
Date: Wed Mar 9 01:07:14 2011 -0800
gdiplus: Avoid shadowing a parameter.
---
dlls/gdiplus/graphicspath.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 992bd7c..971ab31 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;
}
More information about the wine-cvs
mailing list