{
load_dialog (GetHWND ());
// Check to see if any radio buttons are selected. If not, select a default.
- if ((!SendMessage
- (GetDlgItem (IDC_DISABLE_AV), BM_GETCHECK, 0,
- 0) == BST_CHECKED)
- && (!SendMessage (GetDlgItem (IDC_LEAVE_AV), BM_GETCHECK, 0, 0)
- == BST_CHECKED))
- {
- SendMessage (GetDlgItem (IDC_LEAVE_AV), BM_SETCHECK,
- BST_CHECKED, 0);
- }
+ if (SendMessage (GetDlgItem (IDC_DISABLE_AV), BM_GETCHECK, 0, 0)
+ != BST_CHECKED
+ && SendMessage (GetDlgItem (IDC_LEAVE_AV), BM_GETCHECK, 0, 0)
+ != BST_CHECKED)
+ SendMessage (GetDlgItem (IDC_LEAVE_AV), BM_SETCHECK, BST_CHECKED, 0);
}
bool
CheckIfEnableNext();
// Check to see if any radio buttons are selected. If not, select a default.
- if ((!SendMessage (GetDlgItem (IDC_NET_IE5), BM_GETCHECK, 0, 0) ==
- BST_CHECKED)
- && (!SendMessage (GetDlgItem (IDC_NET_PROXY), BM_GETCHECK, 0, 0)
- == BST_CHECKED))
- {
- SendMessage (GetDlgItem (IDC_NET_DIRECT), BM_CLICK, 0, 0);
- }
+ if (SendMessage (GetDlgItem (IDC_NET_IE5), BM_GETCHECK, 0, 0) != BST_CHECKED
+ && SendMessage (GetDlgItem (IDC_NET_PROXY), BM_GETCHECK, 0, 0)
+ != BST_CHECKED)
+ SendMessage (GetDlgItem (IDC_NET_DIRECT), BM_CLICK, 0, 0);
}
long
load_dialog (GetHWND ());
// Check to see if any radio buttons are selected. If not, select a default.
- if ((!SendMessage
- (GetDlgItem (IDC_SOURCE_DOWNLOAD), BM_GETCHECK, 0,
- 0) == BST_CHECKED)
- && (!SendMessage (GetDlgItem (IDC_SOURCE_LOCALDIR), BM_GETCHECK, 0, 0)
- == BST_CHECKED))
- {
- SendMessage (GetDlgItem (IDC_SOURCE_NETINST), BM_SETCHECK,
- BST_CHECKED, 0);
- }
+ if (SendMessage (GetDlgItem (IDC_SOURCE_DOWNLOAD), BM_GETCHECK, 0, 0)
+ != BST_CHECKED
+ && SendMessage (GetDlgItem (IDC_SOURCE_LOCALDIR), BM_GETCHECK, 0, 0)
+ != BST_CHECKED)
+ SendMessage (GetDlgItem (IDC_SOURCE_NETINST), BM_SETCHECK,
+ BST_CHECKED, 0);
}
long