From 69d644e979999f33b5ecb9653d1d4b37d2132149 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 18 May 2016 17:35:52 +0200 Subject: [PATCH] add locale guards for export format --- libs/ardour/export_format_specification.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/export_format_specification.cc b/libs/ardour/export_format_specification.cc index 6183d0d2bf..aef49cc28f 100644 --- a/libs/ardour/export_format_specification.cc +++ b/libs/ardour/export_format_specification.cc @@ -272,6 +272,7 @@ ExportFormatSpecification::~ExportFormatSpecification () XMLNode & ExportFormatSpecification::get_state () { + LocaleGuard lg; XMLNode * node; XMLNode * root = new XMLNode ("ExportFormatSpecification"); @@ -340,6 +341,7 @@ ExportFormatSpecification::set_state (const XMLNode & root) XMLProperty const * prop; XMLNode const * child; string value; + LocaleGuard lg; if ((prop = root.property ("name"))) { _name = prop->value();