Replace incorrect uses of bitwise or with logical or
Originally committed to SVN as r5814.
This commit is contained in:
parent
579203989b
commit
05059732f9
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ void DialogTimingProcessor::UpdateControls() {
|
|||
for (size_t i=0;i<len;i++) {
|
||||
if (StyleList->IsChecked(i)) checked++;
|
||||
}
|
||||
ApplyButton->Enable(checked && (hasLeadIn->IsChecked() | hasLeadOut->IsChecked() | keysEnable->IsChecked() | adjsEnable->IsChecked()));
|
||||
ApplyButton->Enable(checked && (hasLeadIn->IsChecked() || hasLeadOut->IsChecked() || keysEnable->IsChecked() || adjsEnable->IsChecked()));
|
||||
}
|
||||
|
||||
BEGIN_EVENT_TABLE(DialogTimingProcessor,wxDialog)
|
||||
|
|
Loading…
Reference in a new issue