Commit 246f741e authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winspool.drv: Allow for spaces in either the printer name or the spool file.

parent 53a15436
......@@ -7205,7 +7205,7 @@ BOOL WINAPI GetJobW(HANDLE hPrinter, DWORD JobId, DWORD Level, LPBYTE pJob,
static BOOL schedule_lpr(LPCWSTR printer_name, LPCWSTR filename)
{
char *unixname, *queue, *cmd;
char fmt[] = "lpr -P%s %s";
char fmt[] = "lpr -P'%s' '%s'";
DWORD len;
int r;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment