diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-11 21:32:58 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-11 21:33:11 +0300 |
commit | f719c8b921c7a46b76453476204224d40c682914 (patch) | |
tree | c6d92dc450893e7f5abe60c2046ec9c2d1e3db36 /plugins/MirLua/src/Modules/m_srmm.cpp | |
parent | 16ad355c8bdc438c3107ee3ba3ad0bf0b8c395fa (diff) |
int hLangpack/m_hLang removed and replaced with HPLUGIN
Diffstat (limited to 'plugins/MirLua/src/Modules/m_srmm.cpp')
-rw-r--r-- | plugins/MirLua/src/Modules/m_srmm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MirLua/src/Modules/m_srmm.cpp b/plugins/MirLua/src/Modules/m_srmm.cpp index bbaf3edc3f..316a81171f 100644 --- a/plugins/MirLua/src/Modules/m_srmm.cpp +++ b/plugins/MirLua/src/Modules/m_srmm.cpp @@ -47,8 +47,7 @@ static int lua_AddButton(lua_State *L) BBButton bbb = {}; MakeBBButton(L, bbb); - int hScriptLangpack = CMLuaEnvironment::GetEnvironmentId(L); - HANDLE res = Srmm_AddButton(&bbb, hScriptLangpack); + HANDLE res = Srmm_AddButton(&bbb, CMLuaEnvironment::GetEnvironmentId(L)); CleanBBButton(bbb); if (!res) { |