mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
gdiplus: Call EndPath() in GdipDrawLineI in case there is an open path.
This commit is contained in:
parent
d9ef172e04
commit
c60c030c95
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue