summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-22 18:28:08 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-22 18:28:08 +0000
commite8825c7589e16d05b5bfc03b38d2a849c8078377 (patch)
tree45dbca4f2f304c5c96d2951ce23bd098d331534f /plugins/MirLua/src
parenta16896758198562465cc2cdfdbc97fbd1b81aa55 (diff)
MirLua: hotkeys cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@14638 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r--plugins/MirLua/src/m_msg_buttonsbar.cpp3
-rw-r--r--plugins/MirLua/src/mlua.cpp1
-rw-r--r--plugins/MirLua/src/version.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirLua/src/m_msg_buttonsbar.cpp b/plugins/MirLua/src/m_msg_buttonsbar.cpp
index 40cf42ae95..4b22301f97 100644
--- a/plugins/MirLua/src/m_msg_buttonsbar.cpp
+++ b/plugins/MirLua/src/m_msg_buttonsbar.cpp
@@ -50,7 +50,6 @@ static int lua_AddButton(lua_State *L)
INT_PTR res = ::CallService(MS_BB_ADDBUTTON, 0, (LPARAM)bbb);
lua_pushinteger(L, res);
-
return 1;
}
@@ -79,7 +78,7 @@ static int lua_RemoveButton(lua_State *L)
INT_PTR res = ::CallService(MS_BB_REMOVEBUTTON, 0, (LPARAM)&bbb);
lua_pushinteger(L, res);
- mir_free(bbb.pszModuleName);
+ //mir_free(bbb.pszModuleName);
return 1;
}
diff --git a/plugins/MirLua/src/mlua.cpp b/plugins/MirLua/src/mlua.cpp
index 21a24e055c..fac6fa9307 100644
--- a/plugins/MirLua/src/mlua.cpp
+++ b/plugins/MirLua/src/mlua.cpp
@@ -67,6 +67,7 @@ void CMLua::Unload()
::KillModuleIcons(hScriptsLangpack);
::KillModuleMenus(hScriptsLangpack);
+ ::KillModuleHotkeys(hScriptsLangpack);
CMLua::KillModuleServices();
CMLua::KillModuleEventHooks();
//KillModuleSubclassing
diff --git a/plugins/MirLua/src/version.h b/plugins/MirLua/src/version.h
index d8967a631e..89795d3de6 100644
--- a/plugins/MirLua/src/version.h
+++ b/plugins/MirLua/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 11
#define __RELEASE_NUM 4
-#define __BUILD_NUM 2
+#define __BUILD_NUM 3
#include <stdver.h>