mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
gdi32: Quote the printer name prior to passing it to the shell.
This commit is contained in:
parent
4f49655a65
commit
a247ca5308
@ -468,7 +468,7 @@ static int CreateSpoolFile(LPCSTR pszOutput)
|
||||
RegCloseKey(hkey);
|
||||
}
|
||||
if (!psCmd[0] && !strncmp("LPR:",pszOutput,4))
|
||||
sprintf(psCmd,"|lpr -P%s",pszOutput+4);
|
||||
sprintf(psCmd,"|lpr -P'%s'",pszOutput+4);
|
||||
|
||||
TRACE("Got printerSpoolCommand '%s' for output device '%s'\n",
|
||||
psCmd, pszOutput);
|
||||
|
Loading…
Reference in New Issue
Block a user