Module: wine Branch: master Commit: 9114a24fa1f194b9d44c5f275eb435ad4a89b796 URL: https://gitlab.winehq.org/wine/wine/-/commit/9114a24fa1f194b9d44c5f275eb435a...
Author: Piotr Caban piotr@codeweavers.com Date: Sun Mar 26 12:06:13 2023 +0200
wineps: Handle EMR_POLYLINE record in spool files.
---
dlls/wineps.drv/printproc.c | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/dlls/wineps.drv/printproc.c b/dlls/wineps.drv/printproc.c index 9663b3b3730..98f820e6811 100644 --- a/dlls/wineps.drv/printproc.c +++ b/dlls/wineps.drv/printproc.c @@ -158,6 +158,13 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable, return PSDRV_PolyPolygon(&data->pdev->dev, (const POINT *)p->aptl, (const INT *)&p->cptl, 1); } + case EMR_POLYLINE: + { + const EMRPOLYLINE *p = (const EMRPOLYLINE *)rec; + + return PSDRV_PolyPolyline(&data->pdev->dev, + (const POINT *)p->aptl, &p->cptl, 1); + } case EMR_POLYPOLYLINE: { const EMRPOLYPOLYLINE *p = (const EMRPOLYPOLYLINE *)rec;