mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 00:43:21 +00:00
don't crash in msi install winetest
svn path=/trunk/; revision=43737
This commit is contained in:
parent
83e2004b73
commit
206c0a4f49
|
@ -2169,6 +2169,8 @@ static HRESULT WINAPI IShellLinkW_fnSetPath(IShellLinkW * iface, LPCWSTR pszFile
|
|||
|
||||
TRACE("(%p)->(path=%s)\n",This, debugstr_w(pszFile));
|
||||
|
||||
if (!pszFile) return E_INVALIDARG;
|
||||
|
||||
/* quotes at the ends of the string are stripped */
|
||||
len = wcslen(pszFile);
|
||||
if (pszFile[0] == '"' && pszFile[len-1] == '"')
|
||||
|
|
Loading…
Reference in a new issue