summaryrefslogtreecommitdiff
path: root/plugins/Variables/src
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/Variables/src
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/Variables/src')
-rw-r--r--plugins/Variables/src/main.cpp2
-rw-r--r--plugins/Variables/src/stdafx.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Variables/src/main.cpp b/plugins/Variables/src/main.cpp
index 551871a485..5865d390f8 100644
--- a/plugins/Variables/src/main.cpp
+++ b/plugins/Variables/src/main.cpp
@@ -20,7 +20,7 @@
#include "stdafx.h"
CMPlugin g_plugin;
-int hLangpack = 0;
+int &hLangpack(g_plugin.m_hLang);
/////////////////////////////////////////////////////////////////////////////////////////
// MirandaPluginInfoEx - returns the extended information about a plugin
diff --git a/plugins/Variables/src/stdafx.h b/plugins/Variables/src/stdafx.h
index fa651b6014..8e6de81b06 100644
--- a/plugins/Variables/src/stdafx.h
+++ b/plugins/Variables/src/stdafx.h
@@ -156,7 +156,6 @@ struct ParseOptions {
};
extern ParseOptions gParseOpts;
-extern int hLangpack;
// variables.c
//int isValidTokenChar(char c);