winspool.drv: Make constant 'fmtW' static.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
94f08b1019
commit
4761c367e0
|
@ -8208,8 +8208,8 @@ end:
|
|||
*/
|
||||
static BOOL schedule_lpr(LPCWSTR printer_name, LPCWSTR filename)
|
||||
{
|
||||
static const WCHAR fmtW[] = {'l','p','r',' ','-','P','\'','%','s','\'',0};
|
||||
WCHAR *cmd;
|
||||
const WCHAR fmtW[] = {'l','p','r',' ','-','P','\'','%','s','\'',0};
|
||||
BOOL r;
|
||||
|
||||
cmd = HeapAlloc(GetProcessHeap(), 0, strlenW(printer_name) * sizeof(WCHAR) + sizeof(fmtW));
|
||||
|
|
Loading…
Reference in New Issue