[0.4.2] * Merge the browseui disc names fix by Christoph in r72092. CORE-11458

svn path=/branches/ros-branch-0_4_2/; revision=72094
This commit is contained in:
Amine Khaldi 2016-08-02 17:21:30 +00:00
parent 9e328c22dd
commit b288719201

View file

@ -350,7 +350,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;