From d2fa2450aa287b45d9b58c5ba3cb54544891cdb2 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 19 Jan 2015 07:29:25 -0600 Subject: use C locale, because POSIX locale is not supported on windows, and operation is undefined. C works on all platforms --- libs/ardour/ladspa_plugin.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/ladspa_plugin.cc') diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc index db28d6d199..61149c78a0 100644 --- a/libs/ardour/ladspa_plugin.cc +++ b/libs/ardour/ladspa_plugin.cc @@ -351,7 +351,7 @@ LadspaPlugin::add_state (XMLNode* root) const { XMLNode *child; char buf[16]; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); for (uint32_t i = 0; i < parameter_count(); ++i){ @@ -384,7 +384,7 @@ LadspaPlugin::set_state (const XMLNode& node, int version) const char *data; uint32_t port_id; #endif - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); if (node.name() != state_node_name()) { error << _("Bad node sent to LadspaPlugin::set_state") << endmsg; @@ -434,7 +434,7 @@ LadspaPlugin::set_state_2X (const XMLNode& node, int /* version */) const char *data; uint32_t port_id; #endif - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); if (node.name() != state_node_name()) { error << _("Bad node sent to LadspaPlugin::set_state") << endmsg; -- cgit v1.2.3