merge Wine commits

svn path=/trunk/; revision=8980
This commit is contained in:
Martin Fuchs 2004-04-05 21:19:48 +00:00
parent bd69e8d121
commit beedced608
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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;

View file

@ -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;