add locale-guard when saving engine states, also #6418
[ardour.git] / gtk2_ardour / engine_dialog.cc
index 78a082c238aacb7bc5756f1577c43661cbded4a6..3e9b12348502b510c0fbec87ec69b1392dafcdb4 100644 (file)
@@ -1537,6 +1537,8 @@ EngineControl::maybe_display_saved_state ()
 XMLNode&
 EngineControl::get_state ()
 {
+       LocaleGuard lg (X_("C"));
+
        XMLNode* root = new XMLNode ("AudioMIDISetup");
        std::string path;