[SHELL32]

- Use CPL_STARTWPARMSW since we are sending a unicode string

svn path=/trunk/; revision=57820
This commit is contained in:
Jérôme Gardou 2012-12-08 16:34:08 +00:00
parent d7c409d1d9
commit a19c9a7015

View file

@ -432,7 +432,7 @@ static void Control_DoLaunch(CPanel *pPanel, HWND hWnd, LPCWSTR pwszCmd)
/* Start the applet */
TRACE("Starting applet %d\n", i);
if (!pApplet->proc(pApplet->hWnd, CPL_DBLCLK, i, pApplet->info[i].lData))
pApplet->proc(pApplet->hWnd, CPL_STARTWPARMSA, i, (LPARAM)pwszArg);
pApplet->proc(pApplet->hWnd, CPL_STARTWPARMSW, i, (LPARAM)pwszArg);
} else
ERR("Applet not found: %ls\n", pwszArg ? pwszArg : L"NULL");