summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2015-01-19 07:29:25 -0600
committerBen Loftis <ben@harrisonconsoles.com>2015-01-19 07:29:25 -0600
commitd2fa2450aa287b45d9b58c5ba3cb54544891cdb2 (patch)
treed54fbc7911def4433118b0cd9eb1f2222da410d2 /libs/ardour/io.cc
parent8900d7d9eadec8b409a7416021c1309ca6dc9ec1 (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/io.cc')
-rw-r--r--libs/ardour/io.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index be626b3010..0d66da7795 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -527,7 +527,7 @@ IO::state (bool /*full_state*/)
string str;
vector<string>::iterator ci;
int n;
- LocaleGuard lg (X_("POSIX"));
+ LocaleGuard lg (X_("C"));
Glib::Threads::Mutex::Lock lm (io_lock);
node->add_property("name", _name);
@@ -588,7 +588,7 @@ IO::set_state (const XMLNode& node, int version)
const XMLProperty* prop;
XMLNodeConstIterator iter;
- LocaleGuard lg (X_("POSIX"));
+ LocaleGuard lg (X_("C"));
/* force use of non-localized representation of decimal point,
since we use it a lot in XML files and so forth.
@@ -644,7 +644,7 @@ IO::set_state_2X (const XMLNode& node, int version, bool in)
{
const XMLProperty* prop;
XMLNodeConstIterator iter;
- LocaleGuard lg (X_("POSIX"));
+ LocaleGuard lg (X_("C"));
/* force use of non-localized representation of decimal point,
since we use it a lot in XML files and so forth.