Module: wine Branch: master Commit: 6f475608b25cb1dcf9cbabdeeb938672a7ef8a34 URL: https://gitlab.winehq.org/wine/wine/-/commit/6f475608b25cb1dcf9cbabdeeb93867...
Author: Piotr Caban piotr@codeweavers.com Date: Thu May 4 19:39:47 2023 +0200
wineps: Remove no longer used NEXTBAND escape.
---
dlls/wineps.drv/escape.c | 15 --------------- dlls/wineps.drv/printproc.c | 1 - dlls/wineps.drv/psdrv.h | 1 - 3 files changed, 17 deletions(-)
diff --git a/dlls/wineps.drv/escape.c b/dlls/wineps.drv/escape.c index 9ced2221b1c..1d11854fd03 100644 --- a/dlls/wineps.drv/escape.c +++ b/dlls/wineps.drv/escape.c @@ -166,20 +166,6 @@ INT CDECL PSDRV_ExtEscape( PHYSDEV dev, INT nEscape, INT cbInput, LPCVOID in_dat *obi = *ibi; return 1; } - case NEXTBAND: - { - RECT *r = out_data; - if(!physDev->job.banding) { - physDev->job.banding = TRUE; - SetRect(r, 0, 0, physDev->horzRes, physDev->vertRes); - TRACE("NEXTBAND returning %s\n", wine_dbgstr_rect(r)); - return 1; - } - SetRectEmpty(r); - TRACE("NEXTBAND rect to 0,0 - 0,0\n" ); - physDev->job.banding = FALSE; - return EndPage( dev->hdc ); - }
case SETCOPYCOUNT: { @@ -477,7 +463,6 @@ INT CDECL PSDRV_StartDoc( PHYSDEV dev, const DOCINFOW *doc ) return 0; }
- physDev->job.banding = FALSE; physDev->job.OutOfPage = TRUE; physDev->job.PageNo = 0; physDev->job.quiet = FALSE; diff --git a/dlls/wineps.drv/printproc.c b/dlls/wineps.drv/printproc.c index e5376b43a4e..d7f9ab65369 100644 --- a/dlls/wineps.drv/printproc.c +++ b/dlls/wineps.drv/printproc.c @@ -3217,7 +3217,6 @@ BOOL WINAPI PrintDocumentOnPrintProcessor(HANDLE pp, WCHAR *doc_name) WARN("Failed to write header\n"); goto cleanup; } - data->pdev->job.banding = FALSE; data->pdev->job.OutOfPage = TRUE; data->pdev->job.PageNo = 0; data->pdev->job.quiet = FALSE; diff --git a/dlls/wineps.drv/psdrv.h b/dlls/wineps.drv/psdrv.h index f5918c0dbf3..9a82576ba0e 100644 --- a/dlls/wineps.drv/psdrv.h +++ b/dlls/wineps.drv/psdrv.h @@ -353,7 +353,6 @@ typedef struct { DWORD id; /* Job id */ HANDLE hprinter; /* Printer handle */ LPWSTR doc_name; /* Document Name */ - BOOL banding; /* Have we received a NEXTBAND */ BOOL OutOfPage; /* Page header not sent yet */ INT PageNo; BOOL quiet; /* Don't actually output anything */