diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index b6406214f81c8a8ae863cb1929c36b60906711b7..3a88295193c6df66cc2ae4b073456d7fe9a7c37b 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -376,8 +376,8 @@ static void draw_polybezier(HDC hdc, GpPen *pen, GDIPCONST GpPointF * pt, pti[i].y = roundr(pt[i].Y); } for(i = 0; i < 4; i ++){ - pti[i].x = roundr(ptf[i].X); - pti[i].y = roundr(ptf[i].Y); + pti[i + count - 4].x = roundr(ptf[i].X); + pti[i + count - 4].y = roundr(ptf[i].Y); } PolyBezier(hdc, pti, count);