From 364022a35a798d4819fea149e2393f73297af3f6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 8 Jul 2015 11:34:30 +0200 Subject: [PATCH] add locale-guard when saving engine states, also #6418 --- gtk2_ardour/engine_dialog.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index 78a082c238..3e9b123485 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -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;