From 81e8caf42867b65677efe2bffaa52ecff7303c3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jun 2012 13:58:25 +0000 Subject: no more pluginLink in load() git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AddContactPlus/main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/AddContactPlus') diff --git a/plugins/AddContactPlus/main.cpp b/plugins/AddContactPlus/main.cpp index 3ce31e7a5e..e7c33cb9e0 100644 --- a/plugins/AddContactPlus/main.cpp +++ b/plugins/AddContactPlus/main.cpp @@ -21,8 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "addcontactplus.h" HINSTANCE hInst; -PLUGINLINK* pluginLink; -int hLangpack; +int hLangpack; static HANDLE hModulesLoaded = 0, hChangedIcons = 0, hAccListChanged = 0, hMainMenuItem = 0, hToolBarItem = 0, hService = 0; HANDLE hIconLibItem; @@ -177,9 +176,8 @@ static int OnModulesLoaded(WPARAM, LPARAM) return 0; } -extern "C" int __declspec(dllexport) Load(PLUGINLINK* link) +extern "C" int __declspec(dllexport) Load(void) { - pluginLink = link; mir_getLP(&pluginInfo); INITCOMMONCONTROLSEX icex = {0}; -- cgit v1.2.3