From cdded19b9f41215694e64aa471df8b3c7844e5b9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 10 Oct 2016 14:04:23 +0200 Subject: convert VST parameter names to UTF8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Another fix for "ยต-iness" (ec8cf4e4f58a, d121e6bf15cbf6f, 57b9dab27cb05d) this time for Windows. --- libs/ardour/vst_plugin.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/vst_plugin.cc') diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index c9a214c0be..505a49360f 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -318,7 +318,7 @@ VSTPlugin::get_parameter_descriptor (uint32_t which, ParameterDescriptor& desc) desc.toggled = prop.flags & kVstParameterIsSwitch; desc.logarithmic = false; desc.sr_dependent = false; - desc.label = prop.label; + desc.label = Glib::locale_to_utf8 (prop.label); } else { @@ -330,7 +330,7 @@ VSTPlugin::get_parameter_descriptor (uint32_t which, ParameterDescriptor& desc) _plugin->dispatcher (_plugin, effGetParamName, which, 0, label, 0); - desc.label = label; + desc.label = Glib::locale_to_utf8 (label); desc.integer_step = false; desc.lower = 0.0f; desc.upper = 1.0f; -- cgit v1.2.3