summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-07 01:11:28 +0200
committerRobin Gareus <robin@gareus.org>2016-05-07 01:11:28 +0200
commit2b7a047e92bc5ebe3287860ff9c9f2fb0acb193c (patch)
tree2d8bc0ae88c0d07f42e021441866eb7c52ddfe72 /libs/ardour/route.cc
parent86c76656cca02f74f5987cf54c0df4423dc90656 (diff)
Add a global state localeguard (and one for route templates)
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 15bed9e0ed..b53dedaacf 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2704,6 +2704,7 @@ Route::get_template()
XMLNode&
Route::state(bool full_state)
{
+ LocaleGuard lg ();
if (!_session._template_state_dir.empty()) {
assert (!full_state); // only for templates
foreach_processor (sigc::bind (sigc::mem_fun (*this, &Route::set_plugin_state_dir), _session._template_state_dir));