mirror of
https://github.com/reactos/reactos.git
synced 2025-07-12 16:44:13 +00:00
[SHELL32]
* Process CPL_STARTWPARMSW and then CPL_DBLCLK when starting control panel applets. svn path=/trunk/; revision=59019
This commit is contained in:
parent
0af75befc5
commit
a875a3dbd5
1 changed files with 2 additions and 2 deletions
|
@ -431,8 +431,8 @@ static void Control_DoLaunch(CPanel *pPanel, HWND hWnd, LPCWSTR pwszCmd)
|
||||||
{
|
{
|
||||||
/* Start the applet */
|
/* Start the applet */
|
||||||
TRACE("Starting applet %d\n", i);
|
TRACE("Starting applet %d\n", i);
|
||||||
if (!pApplet->proc(pApplet->hWnd, CPL_DBLCLK, i, pApplet->info[i].lData))
|
if (!pApplet->proc(pApplet->hWnd, CPL_STARTWPARMSW, i, (LPARAM)pwszArg))
|
||||||
pApplet->proc(pApplet->hWnd, CPL_STARTWPARMSW, i, (LPARAM)pwszArg);
|
pApplet->proc(pApplet->hWnd, CPL_DBLCLK, i, pApplet->info[i].lData);
|
||||||
} else
|
} else
|
||||||
ERR("Applet not found: %ls\n", pwszArg ? pwszArg : L"NULL");
|
ERR("Applet not found: %ls\n", pwszArg ? pwszArg : L"NULL");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue