mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
gdiplus: Call EndPath() in GdipDrawLineI in case there is an open path.
This commit is contained in:
parent
d9ef172e04
commit
c60c030c95
@ -253,6 +253,7 @@ GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics *graphics, GpPen *pen, INT x1,
|
||||
return InvalidParameter;
|
||||
|
||||
save_state = SaveDC(graphics->hdc);
|
||||
EndPath(graphics->hdc);
|
||||
SelectObject(graphics->hdc, pen->gdipen);
|
||||
|
||||
MoveToEx(graphics->hdc, x1, y1, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user