diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-11-07 18:42:19 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-11-07 18:42:19 +0000 |
commit | e29fd4d0ead4353ff2e03fcd793400d8e0779481 (patch) | |
tree | de0d47e86f816ea6cfca63ab8b394c09daf0725a /plugins/MirLua/src/m_genmenu.cpp | |
parent | a50edcaccf9c335a8b4fd6dc144916f3aed9ca8f (diff) |
MirLua: added metatables wrapper
git-svn-id: http://svn.miranda-ng.org/main/trunk@15697 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_genmenu.cpp')
-rw-r--r-- | plugins/MirLua/src/m_genmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_genmenu.cpp b/plugins/MirLua/src/m_genmenu.cpp index 695e9b18cf..f1b9342c3e 100644 --- a/plugins/MirLua/src/m_genmenu.cpp +++ b/plugins/MirLua/src/m_genmenu.cpp @@ -52,7 +52,7 @@ static int lua_CreateRoot(lua_State *L) int position = lua_tointeger(L, 3);
HANDLE hIcon = (HANDLE)lua_touserdata(L, 4);
- HGENMENU res = Menu_CreateRoot(MO_MAIN, ptrT(Utf8DecodeT(name)), position, hIcon);
+ HGENMENU res = Menu_CreateRoot(hMenuObject, ptrT(Utf8DecodeT(name)), position, hIcon);
lua_pushlightuserdata(L, res);
return 1;
|