add locale-guard when saving engine states, also #6418
authorRobin Gareus <robin@gareus.org>
Wed, 8 Jul 2015 09:34:30 +0000 (11:34 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 8 Jul 2015 09:34:57 +0000 (11:34 +0200)
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;