Author: gadamopoulos
Date: Sun Feb 19 09:10:03 2017
New Revision: 73833
URL:
http://svn.reactos.org/svn/reactos?rev=73833&view=rev
Log:
[SHELL32] -Try to fix themes when opening the control panel applet from the control
panel.
Modified:
trunk/reactos/dll/win32/shell32/wine/control.c
Modified: trunk/reactos/dll/win32/shell32/wine/control.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/wine/con…
==============================================================================
--- trunk/reactos/dll/win32/shell32/wine/control.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/wine/control.c [iso-8859-1] Sun Feb 19 09:10:03 2017
@@ -90,7 +90,8 @@
#ifdef __REACTOS__
StringCchCopy(fileBuffer, MAX_PATH, applet->cmd);
- SearchPath(NULL, fileBuffer, NULL, MAX_PATH, fileBuffer, NULL);
+ if (PathIsFileSpecW(fileBuffer))
+ SearchPath(NULL, fileBuffer, NULL, MAX_PATH, fileBuffer, NULL);
ActCtx.lpSource = fileBuffer;
ActCtx.lpResourceName = (LPCWSTR)123;
applet->hActCtx = CreateActCtx(&ActCtx);