diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-01-19 07:29:25 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-01-19 07:29:25 -0600 |
commit | d2fa2450aa287b45d9b58c5ba3cb54544891cdb2 (patch) | |
tree | d54fbc7911def4433118b0cd9eb1f2222da410d2 /libs/ardour/ladspa_plugin.cc | |
parent | 8900d7d9eadec8b409a7416021c1309ca6dc9ec1 (diff) |
use C locale, because POSIX locale is not supported on windows, and operation is undefined. C works on all platforms
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r-- | libs/ardour/ladspa_plugin.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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; |