summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_options.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-06-23 13:01:49 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-06-23 13:01:49 +0000
commit50b6a5ca2c5652fdf4e5fab69d9918c0f633cfb5 (patch)
tree47d14db48369b7aac927ab77189ec842f4ef9373 /plugins/MirLua/src/mlua_options.cpp
parent1406bb2d649a561151ea9c44f2a3da54704d3ff7 (diff)
MirLua: reworked m_core and CMLuaScript
git-svn-id: http://svn.miranda-ng.org/main/trunk@17023 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_options.cpp')
-rw-r--r--plugins/MirLua/src/mlua_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_options.cpp b/plugins/MirLua/src/mlua_options.cpp
index 72bde7761f..e1c5d4fbeb 100644
--- a/plugins/MirLua/src/mlua_options.cpp
+++ b/plugins/MirLua/src/mlua_options.cpp
@@ -131,8 +131,8 @@ void CMLuaOptions::OnScriptListClick(CCtrlListView::TEventInfo *evt)
case 2:
//m_scripts.DeleteItem(evt->nmlvia->iItem);
- script->Unload();
- script->Load();
+ script->Unload((lua_State*)g_mLua);
+ script->Load((lua_State*)g_mLua);
lvi.mask = LVIF_IMAGE;
lvi.iSubItem = 0;
lvi.iImage = script->GetStatus() - 1;