mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 16:28:18 +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 by e164b8cefb
.
This commit is contained in:
parent
14c44d0b0a
commit
8171cfb79b
|
@ -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()));
|
||||
|
|
Loading…
Reference in a new issue