mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
- 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:
parent
b82d0d95a3
commit
4d6569f0b2
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue