don't crash in msi install winetest

svn path=/trunk/; revision=43737
This commit is contained in:
Christoph von Wittich 2009-10-25 11:14:03 +00:00
parent 83e2004b73
commit 206c0a4f49

View file

@ -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] == '"')