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/audio_unit.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/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |