gdiplus: Fixed a bug in helper function draw_polybezier.

This commit is contained in:
Evan Stade 2007-07-09 20:54:27 -07:00 committed by Alexandre Julliard
parent b72dc0df9d
commit 14c7466c9f
1 changed files with 2 additions and 2 deletions

View File

@ -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);