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/IEHistory/src/IEHistory.cpp | 3 ++- plugins/IEHistory/src/stdafx.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/IEHistory/src') 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 }; extern HICON hIcon; //history icon -extern int hLangpack; extern MWindowList hOpenWindowsList; extern PLUGININFOEX pluginInfo; -- cgit v1.2.3