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/IEHistory | |
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/IEHistory')
-rw-r--r-- | plugins/IEHistory/src/IEHistory.cpp | 3 | ||||
-rw-r--r-- | plugins/IEHistory/src/stdafx.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEHistory/src/IEHistory.cpp b/plugins/IEHistory/src/IEHistory.cpp index 20d4b71a99..4984a5984b 100644 --- a/plugins/IEHistory/src/IEHistory.cpp +++ b/plugins/IEHistory/src/IEHistory.cpp @@ -22,7 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "services.h" CMPlugin g_plugin; -int hLangpack;//Miranda NG langpack used by translate functions, filled by mir_getLP() +int &hLangpack(g_plugin.m_hLang); + HICON hIcon; HINSTANCE hInstance; MWindowList hOpenWindowsList = nullptr; diff --git a/plugins/IEHistory/src/stdafx.h b/plugins/IEHistory/src/stdafx.h index 55a4f4aa59..484b43b461 100644 --- a/plugins/IEHistory/src/stdafx.h +++ b/plugins/IEHistory/src/stdafx.h @@ -80,7 +80,6 @@ struct CMPlugin : public PLUGIN<CMPlugin> }; extern HICON hIcon; //history icon -extern int hLangpack; extern MWindowList hOpenWindowsList; extern PLUGININFOEX pluginInfo; |