Commit 14c7466c authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Fixed a bug in helper function draw_polybezier.

parent b72dc0df
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment