From 37a022d37e79dbe9892f376ef7c3b6b8878c4aff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 May 2018 20:40:44 +0300 Subject: hLangpack variable began migration inside CMPluginBase it remains existing for now, but as reference to g_plugin.m_hLang --- plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp') diff --git a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp index 7910ed2219..63d0a172fa 100644 --- a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp +++ b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA. #include "stdafx.h" CMPlugin g_plugin; -int hLangpack; +int &hLangpack(g_plugin.m_hLang); HWND hDialogWnd = nullptr; // хэндл окна настроек, он глобально используется для вывода туда в реалтайме сканкодов клавы из хука HHOOK hHook; CLIST_INTERFACE *pcli; -- cgit v1.2.3