diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-05 21:49:56 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-05 21:49:56 +0200 |
commit | 3dc7728038860bda6eb4b0de1f4a3e14ec9e86cc (patch) | |
tree | 2493b59c08ff53b46d19aeb6e897a1d497680bcc /libs/ardour/tempo.cc | |
parent | 2624c0966b6adac66adc2eb1cf50a658f22d168c (diff) |
we always only use the "C" locale when saving.
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r-- | libs/ardour/tempo.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 31e2f9a611..1d5c3f898c 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -74,7 +74,7 @@ TempoSection::TempoSection (const XMLNode& node) { XMLProperty const * prop; BBT_Time start; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); if ((prop = node.property ("start")) == 0) { error << _("TempoSection XML node has no \"start\" property") << endmsg; @@ -133,7 +133,7 @@ TempoSection::get_state() const { XMLNode *root = new XMLNode (xml_state_node_name); char buf[256]; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); snprintf (buf, sizeof (buf), "%" PRIu32 "|%" PRIu32 "|%" PRIu32, start().bars, @@ -196,7 +196,7 @@ MeterSection::MeterSection (const XMLNode& node) { XMLProperty const * prop; BBT_Time start; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); if ((prop = node.property ("start")) == 0) { error << _("MeterSection XML node has no \"start\" property") << endmsg; @@ -250,7 +250,7 @@ MeterSection::get_state() const { XMLNode *root = new XMLNode (xml_state_node_name); char buf[256]; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); snprintf (buf, sizeof (buf), "%" PRIu32 "|%" PRIu32 "|%" PRIu32, start().bars, |