diff options
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;
|