a few strategic LocaleGuards..
[ardour.git] / libs / ardour / session_state.cc
index 764ce16f260c6cd0c659f3503c85fc45dc6b3d8b..05cf89ff0a165fddcc7b19b7617c8ec803a68197 100644 (file)
@@ -1037,6 +1037,7 @@ Session::get_template()
 XMLNode&
 Session::state (bool full_state)
 {
+       LocaleGuard lg;
        XMLNode* node = new XMLNode("Session");
        XMLNode* child;
 
@@ -1298,6 +1299,7 @@ Session::get_control_protocol_state ()
 int
 Session::set_state (const XMLNode& node, int version)
 {
+       LocaleGuard lg;
        XMLNodeList nlist;
        XMLNode* child;
        XMLProperty const * prop;