Replace incorrect uses of bitwise or with logical or

Originally committed to SVN as r5814.
This commit is contained in:
Thomas Goyne 2011-11-04 19:42:12 +00:00
parent 579203989b
commit 05059732f9
1 changed files with 1 additions and 1 deletions

View File

@ -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)