diff options
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r-- | plugins/MirLua/src/Modules/m_core.cpp | 2 | ||||
-rw-r--r-- | plugins/MirLua/src/main.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
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; } diff --git a/plugins/MirLua/src/main.cpp b/plugins/MirLua/src/main.cpp index c37c75bf9b..244f4c9bc4 100644 --- a/plugins/MirLua/src/main.cpp +++ b/plugins/MirLua/src/main.cpp @@ -1,6 +1,5 @@ #include "stdafx.h"
-int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
HANDLE g_hCLibsFolder;
|