gdiplus: Avoid shadowing a parameter.
This commit is contained in:
parent
1d4381664c
commit
3ac2c9eea0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue