msi: Allow whitespace after the property name when setting a property in the dialog.

This commit is contained in:
James Hawkins 2007-12-21 23:29:13 -06:00 committed by Alexandre Julliard
parent 58c7fe1095
commit f0d369ba44
1 changed files with 1 additions and 1 deletions

View File

@ -3074,7 +3074,7 @@ static UINT msi_dialog_set_property( msi_dialog *dialog, LPCWSTR event, LPCWSTR
prop = msi_alloc( len*sizeof(WCHAR));
strcpyW( prop, &event[1] );
p = strchrW( prop, ']' );
if( p && p[1] == 0 )
if( p && (p[1] == 0 || p[1] == ' ') )
{
*p = 0;
if( strcmpW( szNullArg, arg ) )