summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/init.cpp')
-rw-r--r--plugins/UserInfoEx/init.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/init.cpp b/plugins/UserInfoEx/init.cpp
index d1a1a47bcc..b7a757be19 100644
--- a/plugins/UserInfoEx/init.cpp
+++ b/plugins/UserInfoEx/init.cpp
@@ -72,7 +72,6 @@ static HANDLE ghModernToolBarLoaded = NULL;
static HANDLE ghShutdownHook = NULL;
static HANDLE ghPrebuildStatusMenu = NULL;
int hLangpack;
-PLUGINLINK* pluginLink = NULL;
/*
============================================================================================
@@ -293,13 +292,13 @@ extern "C" INT __declspec(dllexport) Unload(VOID)
*
* @return 0
**/
-extern "C" INT __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" INT __declspec(dllexport) Load(void)
{
INITCOMMONCONTROLSEX ccEx;
- pluginLink = link;
+
mir_getLP(&pluginInfo);
- if (link && CoreCheck())
+ if (CoreCheck())
{
// init common controls
ccEx.dwSize = sizeof(ccEx);