From 3dc7728038860bda6eb4b0de1f4a3e14ec9e86cc Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 5 May 2016 21:49:56 +0200 Subject: we always only use the "C" locale when saving. --- libs/ardour/speakers.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/speakers.cc') diff --git a/libs/ardour/speakers.cc b/libs/ardour/speakers.cc index 7abdaf3a42..b2f46fa069 100644 --- a/libs/ardour/speakers.cc +++ b/libs/ardour/speakers.cc @@ -245,7 +245,7 @@ Speakers::get_state () { XMLNode* node = new XMLNode (X_("Speakers")); char buf[32]; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); for (vector::const_iterator i = _speakers.begin(); i != _speakers.end(); ++i) { XMLNode* speaker = new XMLNode (X_("Speaker")); @@ -269,7 +269,7 @@ Speakers::set_state (const XMLNode& node, int /*version*/) XMLNodeConstIterator i; XMLProperty const * prop; double a, e, d; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); int n = 0; _speakers.clear (); -- cgit v1.2.3