diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-07-03 07:40:45 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-07-03 07:40:45 +0000 |
commit | 6c1c4268578dcd59fc78f2ec8336bee991213a93 (patch) | |
tree | 7d274ff54f1bfd2b5929edb60b1c7e50d838a9bd /plugins/MirLua | |
parent | 6d5281958b491155f0c79881ac7ddbdcd137bf20 (diff) |
MirLua: fix for tray menu
git-svn-id: http://svn.miranda-ng.org/main/trunk@14482 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/src/m_clist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_clist.cpp b/plugins/MirLua/src/m_clist.cpp index d6b1879286..e386304ef2 100644 --- a/plugins/MirLua/src/m_clist.cpp +++ b/plugins/MirLua/src/m_clist.cpp @@ -65,7 +65,7 @@ static int lua_AddTrayMenuItem(lua_State *L) CMenuItem mi;
MakeMenuItem(L, mi);
- HGENMENU res = (HGENMENU)::CallService("CList/AddTrayMenuItem", 0, (LPARAM)&mi);
+ HGENMENU res = ::Menu_AddTrayMenuItem(&mi);
lua_pushlightuserdata(L, res);
return 1;
|