From cfd355e6c8035086c416c161a884242c1bb1800a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 20:18:38 +0300 Subject: no more need in hLangpack variable *YAHOO* --- plugins/MirLua/src/Modules/m_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua/src/Modules') diff --git a/plugins/MirLua/src/Modules/m_core.cpp b/plugins/MirLua/src/Modules/m_core.cpp index 747957dbcc..365b89bb43 100644 --- a/plugins/MirLua/src/Modules/m_core.cpp +++ b/plugins/MirLua/src/Modules/m_core.cpp @@ -222,7 +222,7 @@ static int core_Translate(lua_State *L) char *what = (char*)luaL_checkstring(L, 1); ptrW value(mir_utf8decodeW(what)); - lua_pushstring(L, T2Utf(TranslateW_LP(value, hLangpack))); + lua_pushstring(L, T2Utf(TranslateW_LP(value, g_plugin.m_hLang))); return 1; } -- cgit v1.2.3