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 /gtk2_ardour/ui_config.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 'gtk2_ardour/ui_config.cc')
-rw-r--r-- | gtk2_ardour/ui_config.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/ui_config.cc b/gtk2_ardour/ui_config.cc index c40ab8a887..1040c546ed 100644 --- a/gtk2_ardour/ui_config.cc +++ b/gtk2_ardour/ui_config.cc @@ -240,7 +240,7 @@ int UIConfiguration::store_color_theme () { XMLNode* root; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); root = new XMLNode("Ardour"); @@ -375,7 +375,7 @@ XMLNode& UIConfiguration::get_state () { XMLNode* root; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); root = new XMLNode("Ardour"); @@ -393,7 +393,7 @@ XMLNode& UIConfiguration::get_variables (std::string which_node) { XMLNode* node; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); node = new XMLNode (which_node); @@ -506,7 +506,7 @@ UIConfiguration::load_colors (XMLNode const & node) void UIConfiguration::load_modifiers (XMLNode const & node) { - PBD::LocaleGuard lg ("POSIX"); + PBD::LocaleGuard lg ("C"); XMLNodeList const nlist = node.children(); XMLNodeConstIterator niter; XMLProperty const *name; |