winspool.drv: Write-strings warning fix.
This commit is contained in:
parent
ed10b24e14
commit
8c56ffdde0
|
@ -1166,6 +1166,7 @@ LONG WINAPI DocumentPropertiesA(HWND hWnd,HANDLE hPrinter,
|
||||||
LPDEVMODEA pDevModeInput,DWORD fMode )
|
LPDEVMODEA pDevModeInput,DWORD fMode )
|
||||||
{
|
{
|
||||||
LPSTR lpName = pDeviceName;
|
LPSTR lpName = pDeviceName;
|
||||||
|
static CHAR port[] = "LPT1:";
|
||||||
LONG ret;
|
LONG ret;
|
||||||
|
|
||||||
TRACE("(%p,%p,%s,%p,%p,%ld)\n",
|
TRACE("(%p,%p,%s,%p,%p,%ld)\n",
|
||||||
|
@ -1191,7 +1192,7 @@ LONG WINAPI DocumentPropertiesA(HWND hWnd,HANDLE hPrinter,
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret = GDI_CallExtDeviceMode16(hWnd, pDevModeOutput, lpName, "LPT1:",
|
ret = GDI_CallExtDeviceMode16(hWnd, pDevModeOutput, lpName, port,
|
||||||
pDevModeInput, NULL, fMode);
|
pDevModeInput, NULL, fMode);
|
||||||
|
|
||||||
if(!pDeviceName)
|
if(!pDeviceName)
|
||||||
|
|
Loading…
Reference in New Issue