diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-18 20:40:44 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-18 20:40:44 +0300 |
commit | 37a022d37e79dbe9892f376ef7c3b6b8878c4aff (patch) | |
tree | 2700034a1955c16cb5eff5ffb944cc2eb7d9c00f /plugins/MirLua | |
parent | 5335298d8eb7571db123afb3bd1340cd949a8208 (diff) |
hLangpack variable began migration inside CMPluginBase
it remains existing for now, but as reference to g_plugin.m_hLang
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/Modules/m_toptoolbar/src/main.cpp | 3 | ||||
-rw-r--r-- | plugins/MirLua/src/main.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp b/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp index 55c4cf04d8..621467c431 100644 --- a/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp +++ b/plugins/MirLua/Modules/m_toptoolbar/src/main.cpp @@ -1,6 +1,7 @@ #include "stdafx.h"
-int hLangpack;
+int _hLang;
+int &hLangpack(_hLang);
static TTBButton* MakeTBButton(lua_State *L)
{
diff --git a/plugins/MirLua/src/main.cpp b/plugins/MirLua/src/main.cpp index 31c5d93912..6388952bae 100644 --- a/plugins/MirLua/src/main.cpp +++ b/plugins/MirLua/src/main.cpp @@ -1,6 +1,6 @@ #include "stdafx.h"
-int hLangpack;
+int &hLangpack(g_plugin.m_hLang);
CMPlugin g_plugin;
CMLua *g_mLua;
|