diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-28 17:52:27 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-28 17:52:27 -0400 |
commit | 1536228d00acb8aa076f1e1a0d80baea69e9b227 (patch) | |
tree | 80cb5884734cdaadc997df01aaef9f0207c6ea68 | |
parent | d84a794b302cbf396810dd412420830d0712cf2c (diff) |
fix initialization of reserved I/O names vector
-rw-r--r-- | libs/ardour/globals.cc | 8 |
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; |