summaryrefslogtreecommitdiff
path: root/plugins/SimpleStatusMsg/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SimpleStatusMsg/main.cpp')
-rw-r--r--plugins/SimpleStatusMsg/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SimpleStatusMsg/main.cpp b/plugins/SimpleStatusMsg/main.cpp
index 4ed01bfeb0..07b8029842 100644
--- a/plugins/SimpleStatusMsg/main.cpp
+++ b/plugins/SimpleStatusMsg/main.cpp
@@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <io.h>
HINSTANCE g_hInst;
-PLUGINLINK *pluginLink;
+
int hLangpack;
PROTOACCOUNTS *accounts;
@@ -2161,9 +2161,9 @@ static INT_PTR sttGetAwayMessage(WPARAM wParam, LPARAM lParam)
}
-extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" int __declspec(dllexport) Load(void)
{
- pluginLink = link;
+
mir_getLP(&pluginInfo);
hwndSAMsgDialog = NULL;
accounts = (PROTOACCOUNTS *)mir_alloc(sizeof(PROTOACCOUNTS));