Module: wine Branch: master Commit: f0d369ba44f336a51cab0590ad3310efe3babbd8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0d369ba44f336a51cab0590ad...
Author: James Hawkins truiken@gmail.com Date: Fri Dec 21 23:29:13 2007 -0600
msi: Allow whitespace after the property name when setting a property in the dialog.
---
dlls/msi/dialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 4994216..4417d4b 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -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 ) )