Commit d1b575e9 authored by Troy Rollo's avatar Troy Rollo Committed by Alexandre Julliard

Return attributes for the correct file in the unixfs ParseDisplayName.

parent 6de20f33
......@@ -559,7 +559,7 @@ static HRESULT WINAPI UnixFolder_IShellFolder2_ParseDisplayName(IShellFolder2* i
LPCITEMIDLIST pidlLast;
HRESULT hr;
hr = SHBindToParent(This->m_pidlLocation, &IID_IShellFolder, (LPVOID*)&pParentSF, &pidlLast);
hr = SHBindToParent(*ppidl, &IID_IShellFolder, (LPVOID*)&pParentSF, &pidlLast);
if (FAILED(hr)) return E_FAIL;
IShellFolder_GetAttributesOf(pParentSF, 1, &pidlLast, pdwAttributes);
IShellFolder_Release(pParentSF);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment