[PATCH 0/1] MR3005: localspl: Don't pass original document name to cupsStartDocument.
It's used by the function to find document content type. Fixes regression introduced by e164b8cefb9dfbf0af5b83e176a386eb2c490d6b. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3005
From: Piotr Caban <piotr(a)codeweavers.com> It's used by the function to find document content type. Fixes regression introduced by e164b8cefb9dfbf0af5b83e176a386eb2c490d6b. --- dlls/localspl/cups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/localspl/cups.c b/dlls/localspl/cups.c index a7f2273aba1..cf96f1739fe 100644 --- a/dlls/localspl/cups.c +++ b/dlls/localspl/cups.c @@ -365,7 +365,7 @@ static BOOL cups_write_doc(doc_t *doc, const BYTE *buf, unsigned int size) } if (pcupsStartDocument(CUPS_HTTP_DEFAULT, doc->cups.queue, job_id, - doc->cups.doc_title, format, TRUE) != HTTP_STATUS_CONTINUE) + NULL, format, TRUE) != HTTP_STATUS_CONTINUE) { if (pcupsLastErrorString) WARN("cupsStartDocument failed: %s\n", debugstr_a(pcupsLastErrorString())); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3005
This merge request was approved by Huw Davies. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3005
participants (3)
-
Huw Davies (@huw) -
Piotr Caban -
Piotr Caban (@piotr)