mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[SHELL32] -Try to fix themes when opening the control panel applet from the control panel.
svn path=/trunk/; revision=73833
This commit is contained in:
@@ -90,7 +90,8 @@ CPlApplet* Control_LoadApplet(HWND hWnd, LPCWSTR cmd, CPanel* panel)
|
||||
|
||||
#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);
|
||||
|
||||
Reference in New Issue
Block a user