diff options
-rw-r--r-- | plugins/MirLua/src/m_genmenu.cpp | 6 | ||||
-rw-r--r-- | plugins/MirLua/src/version.h | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/plugins/MirLua/src/m_genmenu.cpp b/plugins/MirLua/src/m_genmenu.cpp index eabc1cef71..f2839d9a82 100644 --- a/plugins/MirLua/src/m_genmenu.cpp +++ b/plugins/MirLua/src/m_genmenu.cpp @@ -51,7 +51,7 @@ static int lua_AddMainMenuItem(lua_State *L) mir_ptr<TMO_MenuItem> pmi(MakeMenuItem(L));
- HGENMENU res = ::Menu_AddMainMenuItem(pmi);
+ HGENMENU res = ::Menu_AddMainMenuItem(pmi, hScriptsLangpack);
lua_pushlightuserdata(L, res);
return 1;
@@ -67,7 +67,7 @@ static int lua_AddContactMenuItem(lua_State *L) mir_ptr<TMO_MenuItem> pmi(MakeMenuItem(L));
- HGENMENU res = ::Menu_AddContactMenuItem(pmi);
+ HGENMENU res = ::Menu_AddContactMenuItem(pmi, NULL, hScriptsLangpack);
lua_pushlightuserdata(L, res);
return 1;
@@ -96,8 +96,6 @@ static int lua_ModifyMenuItem(lua_State *L) HANDLE hIcolibItem = lua_touserdata(L, 3);
int flags = lua_tointeger(L, 4);
- mir_ptr<TMO_MenuItem> pmi(MakeMenuItem(L));
-
INT_PTR res = ::Menu_ModifyItem(hMenuItem, name, hIcolibItem, flags);
lua_pushinteger(L, res);
return 1;
diff --git a/plugins/MirLua/src/version.h b/plugins/MirLua/src/version.h index bd01214dc9..ce9b61cf05 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 0
-#define __BUILD_NUM 2
+#define __RELEASE_NUM 1
+#define __BUILD_NUM 0
#include <stdver.h>
|