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/io.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/io.cc') 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::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. -- cgit v1.2.3