Module: wine Branch: master Commit: f623ec60b5c774cdadd9a4a2adf8cc0252b498f1 URL: https://gitlab.winehq.org/wine/wine/-/commit/f623ec60b5c774cdadd9a4a2adf8cc0...
Author: Piotr Caban piotr@codeweavers.com Date: Thu Apr 13 09:52:51 2023 +0200
wineps: Handle EMR_ABORTPATH record in spool files.
---
dlls/wineps.drv/printproc.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/wineps.drv/printproc.c b/dlls/wineps.drv/printproc.c index e14923b55fa..6151338d125 100644 --- a/dlls/wineps.drv/printproc.c +++ b/dlls/wineps.drv/printproc.c @@ -1189,6 +1189,11 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable, data->path = FALSE; return PlayEnhMetaFileRecord(data->pdev->dev.hdc, htable, rec, n); } + case EMR_ABORTPATH: + { + data->path = FALSE; + return PlayEnhMetaFileRecord(data->pdev->dev.hdc, htable, rec, n); + } case EMR_FILLRGN: { const EMRFILLRGN *p = (const EMRFILLRGN *)rec;