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/TranslitSwitcher/src/TranslitSwitcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TranslitSwitcher/src') diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp index 223bb849e6..defc2903ad 100644 --- a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp +++ b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp @@ -19,8 +19,6 @@ Boston, MA 02111-1307, USA. #include "stdafx.h" -int hLangpack; - struct CMPlugin : public PLUGIN { CMPlugin() : @@ -29,6 +27,8 @@ struct CMPlugin : public PLUGIN } g_plugin; +int &hLangpack(g_plugin.m_hLang); + ///////////////////////////////////////////////////////////////////////////////////////// PLUGININFOEX pluginInfoEx = { -- cgit v1.2.3