summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/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/TooltipNotify/src/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/TooltipNotify/src/main.cpp')
-rw-r--r--plugins/TooltipNotify/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TooltipNotify/src/main.cpp b/plugins/TooltipNotify/src/main.cpp
index a24d621f14..14af3714fe 100644
--- a/plugins/TooltipNotify/src/main.cpp
+++ b/plugins/TooltipNotify/src/main.cpp
@@ -80,8 +80,6 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
return interfaces;
}
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
-{
static char szWrongUsage9x[] =
"Warning! You are trying to use unicode version of the plugin on win9x system! "
"It can not be working here. You must use ansi version of the plugin.";
@@ -117,6 +115,8 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
#endif
};
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+{
return &sPluginInfo;
}
@@ -151,7 +151,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *pLink)
#endif
pluginLink = pLink;
- mir_getLP(&pluginInfoEx);
+ mir_getLP(&sPluginInfo);
g_pTooltipNotify = new CTooltipNotify(g_hInstDLL);
assert(g_pTooltipNotify!=0);