[BROWSEUI] pass a full pidl to ILGetDisplayNameEx CORE-11458

svn path=/trunk/; revision=72092
This commit is contained in:
Christoph von Wittich 2016-08-02 14:52:08 +00:00
parent f6044dc084
commit 7d7b8c4c9e

View file

@ -344,7 +344,7 @@ HTREEITEM CExplorerBand::InsertItem(HTREEITEM hParent, IShellFolder *psfParent,
/* Get the name of the node */
WCHAR wszDisplayName[MAX_PATH];
if (!ILGetDisplayNameEx(psfParent, pEltRelative, wszDisplayName, ILGDN_INFOLDER))
if (!ILGetDisplayNameEx(psfParent, pElt, wszDisplayName, ILGDN_INFOLDER))
{
ERR("Failed to get node name\n");
return NULL;