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