summaryrefslogtreecommitdiff
path: root/plugins/mTextControl
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
commit81e8caf42867b65677efe2bffaa52ecff7303c3a (patch)
tree846f06ef51787c58205cd87546976bda29556680 /plugins/mTextControl
parentd9da7f147fbe91d2e70721de96907ae1d273b591 (diff)
no more pluginLink in load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mTextControl')
-rw-r--r--plugins/mTextControl/src/main.cpp5
-rw-r--r--plugins/mTextControl/src/services.cpp2
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/mTextControl/src/main.cpp b/plugins/mTextControl/src/main.cpp
index 2add659e34..17a500ca0e 100644
--- a/plugins/mTextControl/src/main.cpp
+++ b/plugins/mTextControl/src/main.cpp
@@ -31,7 +31,6 @@ Last change by : $Author: Merlin_de $
#include "headers.h"
HINSTANCE hInst = 0;
-PLUGINLINK *pluginLink = 0;
int hLangpack;
HMODULE hMsfteditDll = 0;
@@ -66,9 +65,9 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
return &pluginInfoEx;
}
-extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
+extern "C" __declspec(dllexport) int Load(void)
{
- pluginLink = link;
+
mir_getLP(&pluginInfoEx);
//6.0A SDK is missing RichEd20.lib for x64
diff --git a/plugins/mTextControl/src/services.cpp b/plugins/mTextControl/src/services.cpp
index 3d2a9c0bee..33a92cb9a1 100644
--- a/plugins/mTextControl/src/services.cpp
+++ b/plugins/mTextControl/src/services.cpp
@@ -89,7 +89,7 @@ void MText_InitFormatting1(TextObject *text) {
// thus enabling devs to fully utilize the mtextcontrol API.
// All functions will be exported as miranda services for compatibility.
//
-// the interface is populated during the Load(PLUGINLINK *link) handler, so you can assume it is ready when Miranda
+// the interface is populated during the Load(void) handler, so you can assume it is ready when Miranda
// throw the ME_SYSTEM_MODULESLOADED event and you can generate a warning in your ModulesLoaded() when
// it depends on the mtextcontrol interface and the mtextcontrol plugin is missing.
//