Module: wine Branch: master Commit: 8c56ffdde075377c99af78f9a7aca5ae1588b717 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8c56ffdde075377c99af78f9...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Wed Aug 16 21:00:14 2006 +0100
winspool.drv: Write-strings warning fix.
---
dlls/winspool.drv/info.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index bf91f9e..a7c5d68 100644 --- a/dlls/winspool.drv/info.c +++ b/dlls/winspool.drv/info.c @@ -1166,6 +1166,7 @@ LONG WINAPI DocumentPropertiesA(HWND hWn 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 hWn return -1; } } - ret = GDI_CallExtDeviceMode16(hWnd, pDevModeOutput, lpName, "LPT1:", + ret = GDI_CallExtDeviceMode16(hWnd, pDevModeOutput, lpName, port, pDevModeInput, NULL, fMode);
if(!pDeviceName)