mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:39:43 +00:00
appwiz.cpl: Correctly handle NULL params in CPL_STARTWPARAMSW handler.
This commit is contained in:
parent
c09f188c98
commit
50c99addb0
|
@ -958,6 +958,9 @@ static LONG start_params(const WCHAR *params)
|
||||||
{
|
{
|
||||||
static const WCHAR install_geckoW[] = {'i','n','s','t','a','l','l','_','g','e','c','k','o',0};
|
static const WCHAR install_geckoW[] = {'i','n','s','t','a','l','l','_','g','e','c','k','o',0};
|
||||||
|
|
||||||
|
if(!params)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if(!strcmpW(params, install_geckoW)) {
|
if(!strcmpW(params, install_geckoW)) {
|
||||||
install_wine_gecko();
|
install_wine_gecko();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue