msi: An inactive dialog control does not require a property.

This commit is contained in:
Hans Leidekker 2010-10-26 12:42:49 +02:00 committed by Alexandre Julliard
parent f3e7ed44f1
commit ced35838ea
1 changed files with 1 additions and 1 deletions

View File

@ -1988,7 +1988,7 @@ static UINT msi_dialog_create_radiobutton( MSIRECORD *rec, LPVOID param )
return ERROR_FUNCTION_FAILED;
control->handler = msi_dialog_radiogroup_handler;
if (!strcmpW( control->name, group->propval ))
if (group->propval && !strcmpW( control->name, group->propval ))
SendMessageW(control->hwnd, BM_SETCHECK, BST_CHECKED, 0);
prop = MSI_RecordGetString( rec, 1 );