From 2e8bbe41e8f4c79d254de1f53a6dfb68403606fb Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 4 Jan 2016 17:21:00 +0000 Subject: MirLua: disabled AddMenuItem in m_genmenu git-svn-id: http://svn.miranda-ng.org/main/trunk@16022 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_hotkeys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua/src/m_hotkeys.cpp') diff --git a/plugins/MirLua/src/m_hotkeys.cpp b/plugins/MirLua/src/m_hotkeys.cpp index a5ff2c4e34..a052f5beb1 100644 --- a/plugins/MirLua/src/m_hotkeys.cpp +++ b/plugins/MirLua/src/m_hotkeys.cpp @@ -57,7 +57,7 @@ static int lua_Unregister(lua_State *L) { const char *name = luaL_checkstring(L, 1); - ::CallService("CoreHotkeys/Unregister", 0, (LPARAM)name); + ::CallService(MS_HOTKEY_UNREGISTER, 0, (LPARAM)name); return 0; } -- cgit v1.2.3