summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-18 20:40:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-18 20:40:44 +0300
commit37a022d37e79dbe9892f376ef7c3b6b8878c4aff (patch)
tree2700034a1955c16cb5eff5ffb944cc2eb7d9c00f /plugins/TranslitSwitcher
parent5335298d8eb7571db123afb3bd1340cd949a8208 (diff)
hLangpack variable began migration inside CMPluginBase
it remains existing for now, but as reference to g_plugin.m_hLang
Diffstat (limited to 'plugins/TranslitSwitcher')
-rw-r--r--plugins/TranslitSwitcher/src/TranslitSwitcher.cpp4
1 files changed, 2 insertions, 2 deletions
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>
{
CMPlugin() :
@@ -29,6 +27,8 @@ struct CMPlugin : public PLUGIN<CMPlugin>
}
g_plugin;
+int &hLangpack(g_plugin.m_hLang);
+
/////////////////////////////////////////////////////////////////////////////////////////
PLUGININFOEX pluginInfoEx = {