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/Scriver/srmm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Scriver') diff --git a/plugins/Scriver/srmm.cpp b/plugins/Scriver/srmm.cpp index d0547d1ad6..ef02512975 100644 --- a/plugins/Scriver/srmm.cpp +++ b/plugins/Scriver/srmm.cpp @@ -27,7 +27,7 @@ int OnUnloadModule(void); TIME_API tmi; -PLUGINLINK *pluginLink; + HINSTANCE g_hInst; int hLangpack; @@ -64,9 +64,9 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) return interfaces; } -extern "C" __declspec(dllexport) int Load(PLUGINLINK * link) +extern "C" __declspec(dllexport) int Load(void) { - pluginLink = link; + // set the memory manager mir_getTMI(&tmi); -- cgit v1.2.3