summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TooltipNotify')
-rw-r--r--plugins/TooltipNotify/src/main.cpp6
-rw-r--r--plugins/TooltipNotify/ttnotify_10.vcxproj5
2 files changed, 4 insertions, 7 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);
diff --git a/plugins/TooltipNotify/ttnotify_10.vcxproj b/plugins/TooltipNotify/ttnotify_10.vcxproj
index 3d26822efe..94c83d42b8 100644
--- a/plugins/TooltipNotify/ttnotify_10.vcxproj
+++ b/plugins/TooltipNotify/ttnotify_10.vcxproj
@@ -49,10 +49,7 @@
<IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">D:\SVN\Miranda\Trunk\miranda\include;$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <PreBuildEvent>
- <Message>Updating revision...</Message>
- <Command>SubWCRev . src\version.wcr src\version.h</Command>
- </PreBuildEvent>
+ <PreBuildEvent />
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>../../include;../ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>