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/audioregion.cc | |
parent | 2624c0966b6adac66adc2eb1cf50a658f22d168c (diff) |
we always only use the "C" locale when saving.
Diffstat (limited to 'libs/ardour/audioregion.cc')
-rw-r--r-- | libs/ardour/audioregion.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index 987a226c76..44e238fb7e 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -771,7 +771,7 @@ AudioRegion::get_basic_state () { XMLNode& node (Region::state ()); char buf[64]; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); snprintf (buf, sizeof (buf), "%u", (uint32_t) _sources.size()); node.add_property ("channels", buf); @@ -784,7 +784,7 @@ AudioRegion::state () { XMLNode& node (get_basic_state()); XMLNode *child; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); child = node.add_child ("Envelope"); @@ -841,7 +841,7 @@ AudioRegion::_set_state (const XMLNode& node, int version, PropertyChange& what_ { const XMLNodeList& nlist = node.children(); XMLProperty const * prop; - LocaleGuard lg (X_("C")); + LocaleGuard lg (); boost::shared_ptr<Playlist> the_playlist (_playlist.lock()); suspend_property_changes (); |