Use named constant instead of a simple number (gets rid of signed
warning too).
This commit is contained in:
parent
e2d6529d9c
commit
dfe99d49c5
|
@ -216,7 +216,7 @@ static UINT SHELL_ExecuteW(const WCHAR *lpCmd, void *env, BOOL shWait,
|
|||
/* Give 30 seconds to the app to come up, if desired. Probably only needed
|
||||
when starting app immediately before making a DDE connection. */
|
||||
if (shWait)
|
||||
if (WaitForInputIdle( info.hProcess, 30000 ) == -1)
|
||||
if (WaitForInputIdle( info.hProcess, 30000 ) == WAIT_FAILED)
|
||||
WARN("WaitForInputIdle failed: Error %ld\n", GetLastError() );
|
||||
retval = 33;
|
||||
if (psei->fMask & SEE_MASK_NOCLOSEPROCESS)
|
||||
|
|
Loading…
Reference in New Issue