summaryrefslogtreecommitdiff
path: root/plugins/Gender/main.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-18 21:25:08 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-18 21:25:08 +0000
commit5e4ecb158a9835d79536326835287d49f22d65f1 (patch)
treef2ebb66a27170f790fbd7893d81b07f7fb0ea723 /plugins/Gender/main.cpp
parent6dfdccb3decd016ced438309d326547e5244604e (diff)
compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@56 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Gender/main.cpp')
-rw-r--r--plugins/Gender/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Gender/main.cpp b/plugins/Gender/main.cpp
index 8b3d9b9bb5..b764902812 100644
--- a/plugins/Gender/main.cpp
+++ b/plugins/Gender/main.cpp
@@ -45,6 +45,7 @@ byte bDrawNoGenderIcon = 0; // enable icon when no info?
byte bContactMenuItems = 1; // do we need a contact menu items?
byte bMetaAvail = 0; // metacontacts installed?
int hLangpack;
+struct MM_INTERFACE mmi;
extern int onOptInitialise(WPARAM wParam, LPARAM lParam);
@@ -446,7 +447,8 @@ int onSystemOKToExit(WPARAM wParam,LPARAM lParam)
extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
- mir_getLP(&pluginInfoEx);
+ mir_getLP(&pluginInfo);
+ mir_getMMI(&mmi);
hHookModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
hSystemOKToExit = HookEvent(ME_SYSTEM_OKTOEXIT,onSystemOKToExit);