gdiplus: Avoid shadowing a parameter.

This commit is contained in:
Austin English 2011-03-09 01:07:14 -08:00 committed by Alexandre Julliard
parent 1d4381664c
commit 3ac2c9eea0
1 changed files with 1 additions and 2 deletions

View File

@ -384,8 +384,7 @@ GpStatus WINGDIPAPI GdipAddPathClosedCurve2(GpPath *path, GDIPCONST GpPointF *po
/* close figure */ /* close figure */
if(stat == Ok){ if(stat == Ok){
INT count = path->pathdata.Count; path->pathdata.Types[path->pathdata.Count - 1] |= PathPointTypeCloseSubpath;
path->pathdata.Types[count - 1] |= PathPointTypeCloseSubpath;
path->newfigure = TRUE; path->newfigure = TRUE;
} }