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/pbd/controllable.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/pbd/controllable.cc')
-rw-r--r-- | libs/pbd/controllable.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/controllable.cc b/libs/pbd/controllable.cc index 42e015ac6f..b0aeaac2c0 100644 --- a/libs/pbd/controllable.cc +++ b/libs/pbd/controllable.cc @@ -107,7 +107,7 @@ XMLNode& Controllable::get_state () { XMLNode* node = new XMLNode (xml_node_name); - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); char buf[64]; node->add_property (X_("name"), _name); // not reloaded from XML state, just there to look at @@ -128,7 +128,7 @@ Controllable::get_state () int Controllable::set_state (const XMLNode& node, int /*version*/) { - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); const XMLProperty* prop; Stateful::save_extra_xml (node); |