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

This commit is contained in:
Royal Chan 2008-02-10 12:40:52 -08:00 committed by Alexandre Julliard
parent be784ba1c5
commit c86f2c29ff
1 changed files with 2 additions and 1 deletions

View File

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