mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
Revert "[SHELL32] Don't check for link files being targets for other link files. Addendum to 3a822e4f."
This reverts commit 3249a00364
.
This commit is contained in:
parent
3199fdbd44
commit
e7a5850d65
1 changed files with 1 additions and 1 deletions
|
@ -2207,7 +2207,7 @@ HRESULT CShellLink::SetTargetFromPIDLOrPath(LPCITEMIDLIST pidl, LPCWSTR pszFile)
|
||||||
/* This failed, try to resolve the path, then create a simple PIDL */
|
/* This failed, try to resolve the path, then create a simple PIDL */
|
||||||
|
|
||||||
StringCchCopyW(szPath, _countof(szPath), pszFile);
|
StringCchCopyW(szPath, _countof(szPath), pszFile);
|
||||||
PathResolveW(szPath, NULL, PRF_DONTFINDLNK | PRF_TRYPROGRAMEXTENSIONS);
|
PathResolveW(szPath, NULL, PRF_TRYPROGRAMEXTENSIONS);
|
||||||
|
|
||||||
if (PathIsFileSpecW(szPath))
|
if (PathIsFileSpecW(szPath))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue