MsiEvaluateCondition returns an error when passed NULL as a

condition.
oldstable
Mike McCormack 2005-02-02 09:29:46 +00:00 committed by Alexandre Julliard
parent d6ecf58e2f
commit 79a6626b64
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ MSICONDITION MSI_EvaluateConditionW( MSIPACKAGE *package, LPCWSTR szCondition )
TRACE("Evaluating %s\n",debugstr_w(szCondition));
if( !COND_parse( &cond ) )
if( szCondition && !COND_parse( &cond ) )
r = cond.result;
else
r = MSICONDITION_ERROR;