mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
merge Wine commits
svn path=/trunk/; revision=8980
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 1998 Juergen Schmied
|
||||
* Copyright 2003 Ivan Leo Murray-Smith
|
||||
* Copyright 2003-2004 Ivan Leo Murray-Smith
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
||||
@@ -241,7 +241,7 @@ static HRESULT WINAPI IPersistFile_fnLoad(IPersistFile* iface, LPCOLESTR pszFile
|
||||
r = IPersistStream_Load(StreamThis, stm);
|
||||
ShellLink_UpdatePath(This->sPathRel, pszFileName, This->sWorkDir, &This->sPath);
|
||||
IStream_Release( stm );
|
||||
This->bDirty = TRUE;
|
||||
This->bDirty = FALSE;
|
||||
}
|
||||
|
||||
return r;
|
||||
|
||||
@@ -325,7 +325,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user