From 737d05018bbc2da54414bea0c2ccce6f1e15bde2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 17:14:39 +0300 Subject: Hotkey_Register => CMPlugin::addHotkey --- plugins/Console/src/Console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Console/src') diff --git a/plugins/Console/src/Console.cpp b/plugins/Console/src/Console.cpp index f9c47a74a5..3152d46524 100644 --- a/plugins/Console/src/Console.cpp +++ b/plugins/Console/src/Console.cpp @@ -1136,7 +1136,7 @@ static int OnSystemModulesLoaded(WPARAM, LPARAM) hkd.szDescription.a = LPGEN("Show/Hide Console"); hkd.pszService = MS_CONSOLE_SHOW_HIDE; hkd.DefHotKey = HOTKEYCODE(HOTKEYF_EXT, 'C'); - Hotkey_Register(&hkd); + g_plugin.addHotkey(&hkd); if (hwndConsole && IsWindow(hwndConsole)) { HookEvent(ME_TTB_MODULELOADED, OnTTBLoaded); -- cgit v1.2.3