gdiplus: draw_polyline never sets status from GenericError to Ok on successful calls.
This commit is contained in:
parent
be784ba1c5
commit
c86f2c29ff
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue