mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
Fix operator precedence (amend e7e9e025)
This commit is contained in:
parent
8f8e32881c
commit
8a92be1757
1 changed files with 2 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ IOProcessor::set_state (const XMLNode& node, int version)
|
|||
std::string str;
|
||||
if (_own_input && _input) {
|
||||
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
|
||||
if ((*niter)->get_property ("name", str) && _name == str || ignore_name) {
|
||||
if ((*niter)->get_property ("name", str) && (_name == str || ignore_name)) {
|
||||
if ((*niter)->get_property ("direction", str) && str == instr) {
|
||||
io_node = (*niter);
|
||||
break;
|
||||
|
|
@ -188,7 +188,7 @@ IOProcessor::set_state (const XMLNode& node, int version)
|
|||
if (_own_output && _output) {
|
||||
for (niter = nlist.begin(); niter != nlist.end(); ++niter) {
|
||||
if ((*niter)->name() == "IO") {
|
||||
if ((*niter)->get_property ("name", str) && _name == str || ignore_name) {
|
||||
if ((*niter)->get_property ("name", str) && (_name == str || ignore_name)) {
|
||||
if ((*niter)->get_property ("direction", str) && str == outstr) {
|
||||
io_node = (*niter);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue