gdiplus: Remove unnecessary cast from GdipAddPathRectangle.

This commit is contained in:
Nikolay Sivov 2008-07-03 18:35:18 +04:00 committed by Alexandre Julliard
parent c47b167657
commit 95ced6e1f5
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,7 @@ GpStatus WINGDIPAPI GdipAddPathRectangle(GpPath *path, REAL x, REAL y,
ptf[1].X = x;
ptf[1].Y = y+height;
if((retstat = GdipAddPathLine2(path,(GDIPCONST GpPointF*)&ptf,2)) != Ok) goto fail;
if((retstat = GdipAddPathLine2(path, ptf, 2)) != Ok) goto fail;
path->pathdata.Types[path->pathdata.Count-1] |= PathPointTypeCloseSubpath;
/* free backup */