appwiz.cpl: Correctly handle NULL params in CPL_STARTWPARAMSW handler.

This commit is contained in:
Jacek Caban 2010-12-18 15:07:13 +01:00 committed by Alexandre Julliard
parent c09f188c98
commit 50c99addb0
1 changed files with 3 additions and 0 deletions

View File

@ -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};
if(!params)
return FALSE;
if(!strcmpW(params, install_geckoW)) {
install_wine_gecko();
return TRUE;