summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_module_loader.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-07 12:25:32 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-07 12:25:32 +0000
commit8a22b1b13cbd23e4d0a0a1cf3da9c84596b55280 (patch)
treeb323c8c3ac2aa9ea54b1618e1bb69bf856aa55c4 /plugins/MirLua/src/mlua_module_loader.cpp
parent6a6a1d097e043dba142d5cdc485e6b4dbe67e12a (diff)
MirLua: WinAPI module moved to external library
git-svn-id: http://svn.miranda-ng.org/main/trunk@16045 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_module_loader.cpp')
-rw-r--r--plugins/MirLua/src/mlua_module_loader.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/MirLua/src/mlua_module_loader.cpp b/plugins/MirLua/src/mlua_module_loader.cpp
index d48c600de1..426f7bd9e6 100644
--- a/plugins/MirLua/src/mlua_module_loader.cpp
+++ b/plugins/MirLua/src/mlua_module_loader.cpp
@@ -15,8 +15,8 @@ void CLuaModuleLoader::Load(const char *name, lua_CFunction loader)
lua_pushstring(L, name);
luaM_pcall(L, 1, 1);
lua_setfield(L, -2, name);
- lua_pop(L, 1);
- lua_pop(L, 1);
+ lua_pop(L, 1);
+ lua_pop(L, 1);
}
void CLuaModuleLoader::Preload(const char *name, lua_CFunction loader)
@@ -46,7 +46,6 @@ void CLuaModuleLoader::LoadModules()
Preload(MLUA_POPUP, luaopen_m_popup);
Preload(MLUA_TOPTOOLBAR, luaopen_m_toptoolbar);
Preload(MLUA_VARIABLES, luaopen_m_variables);
- Preload(MLUA_WINDOWS, luaopen_m_windows);
}
void CLuaModuleLoader::Load(lua_State *L)