summaryrefslogtreecommitdiff
path: root/libs/ardour/bundle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/bundle.cc')
-rw-r--r--libs/ardour/bundle.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/bundle.cc b/libs/ardour/bundle.cc
index 8d3d52158e..b165155e90 100644
--- a/libs/ardour/bundle.cc
+++ b/libs/ardour/bundle.cc
@@ -478,8 +478,8 @@ Bundle::connected_to (boost::shared_ptr<Bundle> other, AudioEngine & engine,
Bundle::PortList const & other_ports =
other->channel_ports (other->type_channel_to_overall(type, i));
- for (Bundle::PortList::const_iterator j = our_ports.begin();
- j != our_ports.end(); ++j) {
+ for (Bundle::PortList::const_iterator j = our_ports.begin(); j != our_ports.end(); ++j) {
+
boost::shared_ptr<Port> p = engine.get_port_by_name(*j);
for (Bundle::PortList::const_iterator k = other_ports.begin();