Commit 4133ed17 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

In IPersistFile_Save if the exe file is not found, trust the path we

are given and allow creation of the link.
parent 941ed629
......@@ -683,9 +683,14 @@ static HRESULT WINAPI IPersistStream_fnSave(
/* if there's no PIDL, generate one */
if( ! This->pPidl )
{
/*
* windows can create lnk files to executables that do not exist yet
* so if the executable does not exist the just trust the path they
* gave us
*/
if( !*exePath )
return E_FAIL;
This->pPidl = ILCreateFromPathW(This->sPath);
else
This->pPidl = ILCreateFromPathW(exePath);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment