summaryrefslogtreecommitdiff
path: root/Bass_interface/Main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Bass_interface/Main.c')
-rw-r--r--Bass_interface/Main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bass_interface/Main.c b/Bass_interface/Main.c
index ce85a6d..a2870b4 100644
--- a/Bass_interface/Main.c
+++ b/Bass_interface/Main.c
@@ -6,6 +6,7 @@ Copyright (C) 2010, 2011 tico-tico
HINSTANCE hInst;
PLUGINLINK *pluginLink;
+int hLangpack;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -483,6 +484,7 @@ int OnShutdown(WPARAM wParam, LPARAM lParam)
int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
+ mir_getLP(&pluginInfo);
mir_getMMI(&mmi);
hHooks[0] = HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);