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/TranslitSwitcher/Src/TranslitSwitcher.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TranslitSwitcher') diff --git a/plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp b/plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp index f401467bce..b97a73dd81 100644 --- a/plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp +++ b/plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp @@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA. #include "TranslitSwitcher.h" HINSTANCE hInst = NULL; -PLUGINLINK *pluginLink; + HANDLE hOnButtonPressed; int hLangpack; @@ -183,9 +183,9 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam) //------------------------------------------------------------------------------------------------------- -extern "C" __declspec(dllexport) int Load(PLUGINLINK *link) +extern "C" __declspec(dllexport) int Load(void) { - pluginLink = link; + mir_getLP(&pluginInfoEx); hHook = HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); -- cgit v1.2.3