summaryrefslogtreecommitdiff
path: root/libs/ardour/ladspa_plugin.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-05-05 21:49:56 +0200
committerRobin Gareus <robin@gareus.org>2016-05-05 21:49:56 +0200
commit3dc7728038860bda6eb4b0de1f4a3e14ec9e86cc (patch)
tree2493b59c08ff53b46d19aeb6e897a1d497680bcc /libs/ardour/ladspa_plugin.cc
parent2624c0966b6adac66adc2eb1cf50a658f22d168c (diff)
we always only use the "C" locale when saving.
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r--libs/ardour/ladspa_plugin.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc
index a80c2797c6..ac9c227fba 100644
--- a/libs/ardour/ladspa_plugin.cc
+++ b/libs/ardour/ladspa_plugin.cc
@@ -348,7 +348,7 @@ LadspaPlugin::add_state (XMLNode* root) const
{
XMLNode *child;
char buf[32];
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg ();
for (uint32_t i = 0; i < parameter_count(); ++i){
@@ -381,7 +381,7 @@ LadspaPlugin::set_state (const XMLNode& node, int version)
const char *data;
uint32_t port_id;
#endif
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg ();
if (node.name() != state_node_name()) {
error << _("Bad node sent to LadspaPlugin::set_state") << endmsg;
@@ -431,7 +431,7 @@ LadspaPlugin::set_state_2X (const XMLNode& node, int /* version */)
const char *data;
uint32_t port_id;
#endif
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg ();
if (node.name() != state_node_name()) {
error << _("Bad node sent to LadspaPlugin::set_state") << endmsg;