summaryrefslogtreecommitdiff
path: root/libs/ardour/audioengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r--libs/ardour/audioengine.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc
index 7e373a2b3c..5553ce9028 100644
--- a/libs/ardour/audioengine.cc
+++ b/libs/ardour/audioengine.cc
@@ -857,12 +857,10 @@ AudioEngine::get_ardour_port_by_name_unlocked (const string& portname)
return 0;
}
- std::string const rel = make_port_name_relative (portname);
-
boost::shared_ptr<Ports> pr = ports.reader();
for (Ports::iterator i = pr->begin(); i != pr->end(); ++i) {
- if (rel == (*i)->name()) {
+ if (portname == (*i)->name()) {
return (*i);
}
}