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/ClientChangeNotify/src/ClientChangeNotify.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/ClientChangeNotify') diff --git a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp index df8509c519..bd7044e69b 100644 --- a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp +++ b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp @@ -21,8 +21,9 @@ HANDLE g_hMainThread; HGENMENU g_hTogglePopupsMenuItem; + CMPlugin g_plugin; -int hLangpack; +int &hLangpack(g_plugin.m_hLang); COptPage *g_PreviewOptPage; // we need to show popup even for the NULL contact if g_PreviewOptPage is not NULL (used for popup preview) BOOL bPopupExists = FALSE, bFingerprintExists = FALSE, bVariablesExists = FALSE; -- cgit v1.2.3