From d1b575e940e1fab1f7162075b8724496ef2b8a61 Mon Sep 17 00:00:00 2001 From: Troy Rollo Date: Thu, 21 Jul 2005 11:00:57 +0000 Subject: [PATCH] Return attributes for the correct file in the unixfs ParseDisplayName. --- dlls/shell32/shfldr_unixfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c index fb9e52d0826..ae7ba1bbca3 100644 --- a/dlls/shell32/shfldr_unixfs.c +++ b/dlls/shell32/shfldr_unixfs.c @@ -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);