mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 16:57:59 +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:
parent
099a790594
commit
8e371f8e7f
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue