we always only use the "C" locale when saving.
[ardour.git] / libs / ardour / luaproc.cc
index 1ab93e4d15db6ad81f4fecfebd0bb1f933b1c562..30b34f584b84fed6f3ee696037fe83b05ade8ffd 100644 (file)
@@ -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)) {