- convert buffer back if pidle simple

- fixes error message when opening control panel in explorer and displays the name for the folder option cpl (thus executing is not yet implemented)

svn path=/trunk/; revision=31311
This commit is contained in:
Johannes Anderwald 2007-12-18 23:01:14 +00:00
parent b82d0d95a3
commit 4d6569f0b2

View file

@ -691,7 +691,12 @@ static HRESULT WINAPI ISF_ControlPanel_fnGetDisplayNameOf(IShellFolder2 * iface,
return E_OUTOFMEMORY;
if (!WideCharToMultiByte(CP_ACP, 0, wszPath, -1, szPath, MAX_PATH, NULL, NULL))
wszPath[0] = '\0';
}
} else {
if (bSimplePidl) {
if (!WideCharToMultiByte(CP_ACP, 0, wszPath, -1, szPath, MAX_PATH, NULL, NULL))
wszPath[0] = '\0';
}
}
}
strRet->uType = STRRET_CSTR;