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/audio_unit.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/audio_unit.cc') diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index 820f41061b..680960bbff 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -1683,7 +1683,7 @@ AUPlugin::parameter_is_output (uint32_t) const void AUPlugin::add_state (XMLNode* root) const { - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); CFDataRef xmlData; CFPropertyListRef propertyList; @@ -1722,7 +1722,7 @@ AUPlugin::set_state(const XMLNode& node, int version) { int ret = -1; CFPropertyListRef propertyList; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); if (node.name() != state_node_name()) { error << _("Bad node sent to AUPlugin::set_state") << endmsg; -- cgit v1.2.3