summaryrefslogtreecommitdiff
path: root/plugins/Nudge/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 17:14:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 17:14:39 +0300
commit737d05018bbc2da54414bea0c2ccce6f1e15bde2 (patch)
tree35f84ba2f7e3db56618b8925654b9e84593fe4fe /plugins/Nudge/src
parent869094d2aabef8ab10a1178907cb31ae84f504f9 (diff)
Hotkey_Register => CMPlugin::addHotkey
Diffstat (limited to 'plugins/Nudge/src')
-rw-r--r--plugins/Nudge/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp
index d17844108d..5077b2d773 100644
--- a/plugins/Nudge/src/main.cpp
+++ b/plugins/Nudge/src/main.cpp
@@ -408,7 +408,7 @@ static int TabsrmmButtonPressed(WPARAM wParam, LPARAM lParam)
static int TabsrmmButtonInit(WPARAM, LPARAM)
{
HOTKEYDESC hkd = { "srmm_nudge", LPGEN("Send nudge"), BB_HK_SECTION, nullptr, HOTKEYCODE(HOTKEYF_CONTROL, 'N'), LPARAM(g_plugin.getInst()) };
- Hotkey_Register(&hkd);
+ g_plugin.addHotkey(&hkd);
BBButton bbd = {};
bbd.pszModuleName = "Nudge";