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:
parent
15cee60021
commit
796f39b967
@ -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])) {
|
||||
|
Loading…
Reference in New Issue
Block a user