Commit 642b2fe7 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

shell32: Use return value from IShellFolder_GetAttributesOf.

parent b206287c
......@@ -271,10 +271,13 @@ static HRESULT WINAPI ShellItem_GetAttributes(IShellItem2 *iface, SFGAOF sfgaoMa
*psfgaoAttribs &= sfgaoMask;
IShellFolder_Release(parent_folder);
if(sfgaoMask == *psfgaoAttribs)
return S_OK;
else
return S_FALSE;
if (SUCCEEDED(ret))
{
if(sfgaoMask == *psfgaoAttribs)
return S_OK;
else
return S_FALSE;
}
}
return ret;
......
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