13
0

Fix compilation on linux now that libardour no longer links to libjack

Similar change has already been made in master branch
This commit is contained in:
Tim Mayberry 2013-12-02 21:10:08 +10:00
parent 15cee60021
commit 796f39b967

View File

@ -1414,7 +1414,7 @@ IO::find_port_hole (const char* base)
std::vector<char> buf (AudioEngine::instance()->port_name_size());
PortSet::iterator i = _ports.begin();
snprintf (&buf[0], jack_port_name_size(), _("%s %u"), base, n);
snprintf (&buf[0], buf.size()+1, _("%s %u"), base, n);
for ( ; i != _ports.end(); ++i) {
if (string(i->name()) == string(&buf[0])) {