summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-05 21:49:56 +0200
committerRobin Gareus <robin@gareus.org>2016-05-05 21:49:56 +0200
commit3dc7728038860bda6eb4b0de1f4a3e14ec9e86cc (patch)
tree2493b59c08ff53b46d19aeb6e897a1d497680bcc /libs/ardour/io.cc
parent2624c0966b6adac66adc2eb1cf50a658f22d168c (diff)
we always only use the "C" locale when saving.
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 642b2a0435..a02739db44 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -530,7 +530,7 @@ IO::state (bool /*full_state*/)
char buf[64];
string str;
int n;
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg ();
Glib::Threads::Mutex::Lock lm (io_lock);
node->add_property("name", _name);
@@ -597,7 +597,7 @@ IO::set_state (const XMLNode& node, int version)
XMLProperty const * prop;
XMLNodeConstIterator iter;
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg ();
/* force use of non-localized representation of decimal point,
since we use it a lot in XML files and so forth.
@@ -658,7 +658,7 @@ IO::set_state_2X (const XMLNode& node, int version, bool in)
{
XMLProperty const * prop;
XMLNodeConstIterator iter;
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg ();
/* force use of non-localized representation of decimal point,
since we use it a lot in XML files and so forth.