diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-16 20:48:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-16 20:48:09 +0300 |
commit | 91bf98433bfabfb2274511525b5be97d8e8d27f7 (patch) | |
tree | 71c0ece3bcad56671caa56f4e54e031b46359d0e /plugins/Scriver/src/input.cpp | |
parent | 20cead9e5014a830b52d74ebdfb1833eda015777 (diff) |
Scriver -> CMPlugin
Diffstat (limited to 'plugins/Scriver/src/input.cpp')
-rw-r--r-- | plugins/Scriver/src/input.cpp | 2 |
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);
|