Commit 8c56ffdd authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

winspool.drv: Write-strings warning fix.

parent ed10b24e
......@@ -1166,6 +1166,7 @@ LONG WINAPI DocumentPropertiesA(HWND hWnd,HANDLE hPrinter,
LPDEVMODEA pDevModeInput,DWORD fMode )
{
LPSTR lpName = pDeviceName;
static CHAR port[] = "LPT1:";
LONG ret;
TRACE("(%p,%p,%s,%p,%p,%ld)\n",
......@@ -1191,7 +1192,7 @@ LONG WINAPI DocumentPropertiesA(HWND hWnd,HANDLE hPrinter,
return -1;
}
}
ret = GDI_CallExtDeviceMode16(hWnd, pDevModeOutput, lpName, "LPT1:",
ret = GDI_CallExtDeviceMode16(hWnd, pDevModeOutput, lpName, port,
pDevModeInput, NULL, fMode);
if(!pDeviceName)
......
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