summaryrefslogtreecommitdiff
path: root/libs/ardour/globals.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r--libs/ardour/globals.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index 9f512c1ec0..09043430a3 100644
--- 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;