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/session_configuration.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/session_configuration.cc')
-rw-r--r-- | libs/ardour/session_configuration.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/session_configuration.cc b/libs/ardour/session_configuration.cc index dc4f9a6bc8..2daeee3348 100644 --- a/libs/ardour/session_configuration.cc +++ b/libs/ardour/session_configuration.cc @@ -54,7 +54,7 @@ XMLNode& SessionConfiguration::get_state () { XMLNode* root; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); root = new XMLNode ("Ardour"); root->add_child_nocopy (get_variables ()); @@ -67,7 +67,7 @@ XMLNode& SessionConfiguration::get_variables () { XMLNode* node; - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); node = new XMLNode ("Config"); @@ -159,7 +159,7 @@ SessionConfiguration::load_state () XMLNode* node; if (((node = find_named_node (root, X_("Config"))) != 0)) { - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); set_variables(*node); info << _("Loaded custom session defaults.") << endmsg; } else { |