Module: wine Branch: master Commit: 712e67723a707d6c7a18e509cb208d3e5cb67fd8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=712e67723a707d6c7a18e509cb...
Author: Peter Oberndorfer kumbayo84@arcor.de Date: Sat Feb 3 20:09:11 2007 +0100
msi: Clean up magic numbers.
---
dlls/msi/dialog.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 1502374..34adf9c 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -1645,9 +1645,9 @@ static UINT msi_dialog_create_radiobutto 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,