From 606c13885a95f1823b485aff62b790685364e68c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 27 Sep 2011 18:08:58 +0000 Subject: make lookup of ardour port names work git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10145 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/audioengine.cc | 4 +--- 1 file changed, 1 insertion(+), 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 pr = ports.reader(); for (Ports::iterator i = pr->begin(); i != pr->end(); ++i) { - if (rel == (*i)->name()) { + if (portname == (*i)->name()) { return (*i); } } -- cgit v1.2.3