Author: janderwald
Date: Wed Dec 19 02:01:14 2007
New Revision: 31311
URL:
http://svn.reactos.org/svn/reactos?rev=31311&view=rev
Log:
- 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)
Modified:
trunk/reactos/dll/win32/shell32/cpanelfolder.c
Modified: trunk/reactos/dll/win32/shell32/cpanelfolder.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/cpanelfo…
==============================================================================
--- trunk/reactos/dll/win32/shell32/cpanelfolder.c (original)
+++ trunk/reactos/dll/win32/shell32/cpanelfolder.c Wed Dec 19 02:01:14 2007
@@ -691,7 +691,12 @@
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;