projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d84a794
)
fix initialization of reserved I/O names vector
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 28 Sep 2015 21:52:27 +0000
(17:52 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 28 Sep 2015 21:52:27 +0000
(17:52 -0400)
libs/ardour/globals.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/globals.cc
b/libs/ardour/globals.cc
index 9f512c1ec0d70c8f2682c058aca4b5d01e22361b..09043430a366f12600fc6b10277579c59c476ef1 100644
(file)
--- a/
libs/ardour/globals.cc
+++ b/
libs/ardour/globals.cc
@@
-515,8
+515,8
@@
ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
surface support that would list their port names, we do have to
list them here.
*/
-
- char const * reserved[] = {
+
+ char const *
const
reserved[] = {
_("Monitor"),
_("Master"),
_("Control"),
@@
-525,7
+525,9
@@
ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
0
};
- reserved_io_names = I18N (reserved);
+ for (int n = 0; reserved[n]; ++n) {
+ reserved_io_names.push_back (reserved[n]);
+ }
libardour_initialized = true;