Fix both a warning and some nasty crashes...
This commit is contained in:
parent
f92deed281
commit
368a54c846
|
@ -611,7 +611,7 @@ DWORD WINAPI RegEnumKey16( HKEY hkey, DWORD index, LPSTR name, DWORD name_len )
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* SHELL_Execute16 [Internal]
|
* SHELL_Execute16 [Internal]
|
||||||
*/
|
*/
|
||||||
static UINT SHELL_Execute16(char *lpCmd, LPSHELLEXECUTEINFOA sei, BOOL shWait)
|
static UINT SHELL_Execute16(char *lpCmd, void* env, LPSHELLEXECUTEINFOA sei, BOOL shWait)
|
||||||
{
|
{
|
||||||
UINT ret = WinExec16(lpCmd, sei->nShow);
|
UINT ret = WinExec16(lpCmd, sei->nShow);
|
||||||
sei->hInstApp = HINSTANCE_32(ret);
|
sei->hInstApp = HINSTANCE_32(ret);
|
||||||
|
|
Loading…
Reference in New Issue