diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-01-19 07:29:25 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-01-19 07:29:25 -0600 |
commit | d2fa2450aa287b45d9b58c5ba3cb54544891cdb2 (patch) | |
tree | d54fbc7911def4433118b0cd9eb1f2222da410d2 /libs/ardour/audioregion.cc | |
parent | 8900d7d9eadec8b409a7416021c1309ca6dc9ec1 (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/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 506596430f..1e556c97d0 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -768,7 +768,7 @@ AudioRegion::get_basic_state () { XMLNode& node (Region::state ()); char buf[64]; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); snprintf (buf, sizeof (buf), "%u", (uint32_t) _sources.size()); node.add_property ("channels", buf); @@ -781,7 +781,7 @@ AudioRegion::state () { XMLNode& node (get_basic_state()); XMLNode *child; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); child = node.add_child ("Envelope"); @@ -838,7 +838,7 @@ AudioRegion::_set_state (const XMLNode& node, int version, PropertyChange& what_ { const XMLNodeList& nlist = node.children(); const XMLProperty *prop; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); boost::shared_ptr<Playlist> the_playlist (_playlist.lock()); suspend_property_changes (); |