From 6c1c4268578dcd59fc78f2ec8336bee991213a93 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 3 Jul 2015 07:40:45 +0000 Subject: MirLua: fix for tray menu git-svn-id: http://svn.miranda-ng.org/main/trunk@14482 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_clist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua') 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; -- cgit v1.2.3