summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-09 11:30:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-09 11:30:37 +0000
commitb7033cda5f3598d477ea37fe2dd343871ae23739 (patch)
treead178a90f2d89dc94b84e9c36a6f6e2ba5a6bffa /plugins/MirLua
parent21c6c7a7cb65e25d55cce54b6e097c797b66f95e (diff)
buggy function removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/m_clist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_clist.cpp b/plugins/MirLua/src/m_clist.cpp
index e386304ef2..5349c20b75 100644
--- a/plugins/MirLua/src/m_clist.cpp
+++ b/plugins/MirLua/src/m_clist.cpp
@@ -19,7 +19,7 @@ static int lua_AddMainMenuItem(lua_State *L)
static int lua_BuildMainMenu(lua_State *L)
{
- HMENU res = ::Menu_BuildMainMenu();
+ HMENU res = ::Menu_GetMainMenu();
lua_pushlightuserdata(L, res);
return 1;