From d2fa2450aa287b45d9b58c5ba3cb54544891cdb2 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 19 Jan 2015 07:29:25 -0600 Subject: use C locale, because POSIX locale is not supported on windows, and operation is undefined. C works on all platforms --- libs/ardour/session_configuration.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/session_configuration.cc') 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 { -- cgit v1.2.3