summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/input.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-16 20:48:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-16 20:48:09 +0300
commit91bf98433bfabfb2274511525b5be97d8e8d27f7 (patch)
tree71c0ece3bcad56671caa56f4e54e031b46359d0e /plugins/Scriver/src/input.cpp
parent20cead9e5014a830b52d74ebdfb1833eda015777 (diff)
Scriver -> CMPlugin
Diffstat (limited to 'plugins/Scriver/src/input.cpp')
-rw-r--r--plugins/Scriver/src/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/input.cpp b/plugins/Scriver/src/input.cpp
index c5034ea3eb..2302c01c7d 100644
--- a/plugins/Scriver/src/input.cpp
+++ b/plugins/Scriver/src/input.cpp
@@ -32,7 +32,7 @@ void InputAreaContextMenu(HWND hwnd, WPARAM, LPARAM lParam, MCONTACT hContact)
POINT pt;
CHARRANGE sel, all = { 0, -1 };
- HMENU hMenu = LoadMenu(g_hInst, MAKEINTRESOURCE(IDR_CONTEXT));
+ HMENU hMenu = LoadMenu(g_plugin.getInst(), MAKEINTRESOURCE(IDR_CONTEXT));
HMENU hSubMenu = GetSubMenu(hMenu, 2);
TranslateMenu(hSubMenu);
SendMessage(hwnd, EM_EXGETSEL, 0, (LPARAM)&sel);