X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fardour%2Fluaproc.cc;h=30b34f584b84fed6f3ee696037fe83b05ade8ffd;hb=3dc7728038860bda6eb4b0de1f4a3e14ec9e86cc;hp=1ab93e4d15db6ad81f4fecfebd0bb1f933b1c562;hpb=2624c0966b6adac66adc2eb1cf50a658f22d168c;p=ardour.git 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)) {