projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15cee60
)
Fix compilation on linux now that libardour no longer links to libjack
author
Tim Mayberry
<mojofunk@gmail.com>
Mon, 2 Dec 2013 11:10:08 +0000
(21:10 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Mon, 2 Dec 2013 11:17:47 +0000
(21:17 +1000)
Similar change has already been made in master branch
libs/ardour/io.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/io.cc
b/libs/ardour/io.cc
index ebd295411e9cdfaf3d5198e0c36f0a737cd86d92..2cc213f7975932624527f6ee58cd1c850aa14c01 100644
(file)
--- a/
libs/ardour/io.cc
+++ b/
libs/ardour/io.cc
@@
-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])) {