projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tempo ramps - audio-locked meters have a bbt of 1|1|0
[ardour.git]
/
libs
/
ardour
/
export_format_specification.cc
diff --git
a/libs/ardour/export_format_specification.cc
b/libs/ardour/export_format_specification.cc
index 6b0e2f237f8bb5e23ad32bc562daa47071056462..aef49cc28f8c750ef3bd7bbdfe0e2a6821a008ee 100644
(file)
--- a/
libs/ardour/export_format_specification.cc
+++ b/
libs/ardour/export_format_specification.cc
@@
-272,6
+272,7
@@
ExportFormatSpecification::~ExportFormatSpecification ()
XMLNode &
ExportFormatSpecification::get_state ()
{
XMLNode &
ExportFormatSpecification::get_state ()
{
+ LocaleGuard lg;
XMLNode * node;
XMLNode * root = new XMLNode ("ExportFormatSpecification");
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;
XMLProperty const * prop;
XMLNode const * child;
string value;
+ LocaleGuard lg;
if ((prop = root.property ("name"))) {
_name = prop->value();
if ((prop = root.property ("name"))) {
_name = prop->value();
@@
-700,7
+702,7
@@
ExportFormatSpecification::get_option (XMLNode const * node, std::string const &
XMLNodeList list (node->children ("Option"));
for (XMLNodeList::iterator it = list.begin(); it != list.end(); ++it) {
XMLNodeList list (node->children ("Option"));
for (XMLNodeList::iterator it = list.begin(); it != list.end(); ++it) {
- XMLProperty * prop = (*it)->property ("name");
+ XMLProperty
const
* prop = (*it)->property ("name");
if (prop && !name.compare (prop->value())) {
prop = (*it)->property ("value");
if (prop) {
if (prop && !name.compare (prop->value())) {
prop = (*it)->property ("value");
if (prop) {