diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-27 18:08:58 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-27 18:08:58 +0000 |
commit | 606c13885a95f1823b485aff62b790685364e68c (patch) | |
tree | 6a56c2862abd7629e80328038af9a57f160703d7 | |
parent | c5aa0779c187352a29c74dd8607910d51fcfcf83 (diff) |
make lookup of ardour port names work
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10145 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/audioengine.cc | 4 |
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); } } |