summaryrefslogtreecommitdiff
path: root/plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp')
-rw-r--r--plugins/TranslitSwitcher/Src/TranslitSwitcher.cpp6
1 files changed, 3 insertions, 3 deletions
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);