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

oldstable
Huw Davies 2010-08-25 11:47:53 +01:00 committed by Alexandre Julliard
parent 53a15436f8
commit 246f741eb3
1 changed files with 1 additions and 1 deletions

View File

@ -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;