mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
localspl: Don't pass original document name to cupsStartDocument.
It's used by the function to find document content type. Fixes regression introduced bye164b8cefb
. (cherry picked from commit8171cfb79b
)
This commit is contained in:
parent
bdf1dcdd6a
commit
c266639444
|
@ -362,7 +362,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()));
|
||||
|
|
Loading…
Reference in a new issue