mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue