diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-20 22:47:45 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-20 22:47:45 +0200 |
commit | 8a92be1757981d95f7190c47d8ed3e018f6e7ae0 (patch) | |
tree | f185499cee8ad5e0271934e957f9956094cb0827 /libs/ardour/io_processor.cc | |
parent | 8f8e32881cccf4e5aecbb8f9a7751414ff4e2d78 (diff) |
Fix operator precedence (amend e7e9e025)
Diffstat (limited to 'libs/ardour/io_processor.cc')
-rw-r--r-- | libs/ardour/io_processor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/io_processor.cc b/libs/ardour/io_processor.cc index be393f1432..ddd4ede1d8 100644 --- a/libs/ardour/io_processor.cc +++ b/libs/ardour/io_processor.cc @@ -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; |