James Hawkins : winspool.drv: Check for get_filename failure.
Module: wine Branch: master Commit: 68406933714001224b367d4d6f40f563c00fd092 URL: http://source.winehq.org/git/wine.git/?a=commit;h=68406933714001224b367d4d6f... Author: James Hawkins <truiken(a)gmail.com> Date: Thu Jan 11 03:19:58 2007 -0600 winspool.drv: Check for get_filename failure. --- dlls/winspool.drv/info.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index 551e8fc..41b706c 100644 --- a/dlls/winspool.drv/info.c +++ b/dlls/winspool.drv/info.c @@ -7340,8 +7340,8 @@ LPWSTR WINAPI StartDocDlgW( HANDLE hPrin if(doc->lpszOutput == NULL || !strcmpW(doc->lpszOutput, FILE_Port)) { LPWSTR name; - get_filename(&name); - if(name) + + if (get_filename(&name)) { if(!(len = GetFullPathNameW(name, 0, NULL, NULL))) {
participants (1)
-
Alexandre Julliard