summaryrefslogtreecommitdiff
path: root/libs/ardour/speakers.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/speakers.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/speakers.cc')
-rw-r--r--libs/ardour/speakers.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/speakers.cc b/libs/ardour/speakers.cc
index bbad254f6e..7c7b02f0cc 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_("POSIX"));
+ LocaleGuard lg (X_("C"));
for (vector<Speaker>::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;
const XMLProperty* prop;
double a, e, d;
- LocaleGuard lg (X_("POSIX"));
+ LocaleGuard lg (X_("C"));
int n = 0;
_speakers.clear ();