Commit 4761c367 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

winspool.drv: Make constant 'fmtW' static.

parent 94f08b10
......@@ -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));
......
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