mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 05:51:26 +08:00
[SHELL32] Don't check for link files being targets for other link files. Addendum to 3a822e4f.
This commit is contained in:
@@ -2207,7 +2207,7 @@ HRESULT CShellLink::SetTargetFromPIDLOrPath(LPCITEMIDLIST pidl, LPCWSTR pszFile)
|
||||
/* This failed, try to resolve the path, then create a simple PIDL */
|
||||
|
||||
StringCchCopyW(szPath, _countof(szPath), pszFile);
|
||||
PathResolveW(szPath, NULL, PRF_TRYPROGRAMEXTENSIONS);
|
||||
PathResolveW(szPath, NULL, PRF_DONTFINDLNK | PRF_TRYPROGRAMEXTENSIONS);
|
||||
|
||||
if (PathIsFileSpecW(szPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user