msi: Clean up magic numbers.

This commit is contained in:
Peter Oberndorfer 2007-02-03 20:09:11 +01:00 committed by Alexandre Julliard
parent c1b7a825ff
commit 712e67723a
1 changed files with 2 additions and 2 deletions

View File

@ -1645,9 +1645,9 @@ static UINT msi_dialog_create_radiobutton( MSIRECORD *rec, LPVOID param )
style = WS_CHILD | BS_AUTORADIOBUTTON | BS_MULTILINE | WS_TABSTOP;
name = MSI_RecordGetString( rec, 3 );
text = MSI_RecordGetString( rec, 8 );
if( attributes & 1 )
if( attributes & msidbControlAttributesVisible )
style |= WS_VISIBLE;
if( ~attributes & 2 )
if( ~attributes & msidbControlAttributesEnabled )
style |= WS_DISABLED;
control = msi_dialog_create_window( dialog, rec, 0, szButton, name, text,