mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 04:35:07 +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,6 +691,11 @@ static HRESULT WINAPI ISF_ControlPanel_fnGetDisplayNameOf(IShellFolder2 * iface,
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
if (!WideCharToMultiByte(CP_ACP, 0, wszPath, -1, szPath, MAX_PATH, NULL, NULL))
|
if (!WideCharToMultiByte(CP_ACP, 0, wszPath, -1, szPath, MAX_PATH, NULL, NULL))
|
||||||
wszPath[0] = '\0';
|
wszPath[0] = '\0';
|
||||||
|
} else {
|
||||||
|
if (bSimplePidl) {
|
||||||
|
if (!WideCharToMultiByte(CP_ACP, 0, wszPath, -1, szPath, MAX_PATH, NULL, NULL))
|
||||||
|
wszPath[0] = '\0';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue