summaryrefslogtreecommitdiff
path: root/libs/ardour/luaproc.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/luaproc.cc
parent2624c0966b6adac66adc2eb1cf50a658f22d168c (diff)
we always only use the "C" locale when saving.
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r--libs/ardour/luaproc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc
index 1ab93e4d15..30b34f584b 100644
--- a/libs/ardour/luaproc.cc
+++ b/libs/ardour/luaproc.cc
@@ -713,7 +713,7 @@ LuaProc::add_state (XMLNode* root) const
{
XMLNode* child;
char buf[32];
- LocaleGuard lg(X_("C"));
+ LocaleGuard lg ();
gchar* b64 = g_base64_encode ((const guchar*)_script.c_str (), _script.size ());
std::string b64s (b64);
@@ -783,7 +783,7 @@ LuaProc::set_state (const XMLNode& node, int version)
const char *port;
uint32_t port_id;
#endif
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg ();
if (_script.empty ()) {
if (set_script_from_state (node)) {