Commit c86f2c29 authored by Royal Chan's avatar Royal Chan Committed by Alexandre Julliard

gdiplus: draw_polyline never sets status from GenericError to Ok on successful calls.

parent be784ba1
......@@ -505,7 +505,8 @@ static GpStatus draw_polyline(GpGraphics *graphics, GpPen *pen,
transform_and_round_points(graphics, pti, ptcopy, count);
Polyline(graphics->hdc, pti, count);
if(Polyline(graphics->hdc, pti, count))
status = Ok;
end:
GdipFree(pti);
......
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