summaryrefslogtreecommitdiff
path: root/plugins/Alarms/alarms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Alarms/alarms.cpp')
-rw-r--r--plugins/Alarms/alarms.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Alarms/alarms.cpp b/plugins/Alarms/alarms.cpp
index 19af4e7883..27a5c53a97 100644
--- a/plugins/Alarms/alarms.cpp
+++ b/plugins/Alarms/alarms.cpp
@@ -20,7 +20,6 @@ There is no warranty.
TCHAR szGamePrefix[] = COMMANDPREFIX;
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
int hLangpack;
HANDLE hTopToolbarButton;
@@ -300,11 +299,10 @@ static int MainDeInit(WPARAM wParam, LPARAM lParam)
return 0;
}
-extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" int __declspec(dllexport) Load(void)
{
- pluginLink = link;
+ mir_getLP(&pluginInfo);
- mir_getLP(&pluginInfo);
// ensure datetime picker is loaded
INITCOMMONCONTROLSEX ccx;
ccx.dwSize = sizeof(ccx);