From e8825c7589e16d05b5bfc03b38d2a849c8078377 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 22 Jul 2015 18:28:08 +0000 Subject: MirLua: hotkeys cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@14638 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_msg_buttonsbar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/MirLua/src/m_msg_buttonsbar.cpp') 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; } -- cgit v1.2.3