summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-05 19:55:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-05 19:55:59 +0000
commit439a7d68a8ff7465e735749068255dfa0c4af5ad (patch)
tree70bb0a3e7c71bac759f13895d936963193b6d8c5 /plugins
parent57eda120c8c612d0a7785d8ba65de7924b7b867f (diff)
fix for the plugin's version
git-svn-id: http://svn.miranda-ng.org/main/trunk@320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Modernb/init.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/Modernb/init.cpp b/plugins/Modernb/init.cpp
index 6ff21f5963..7ca3ed79ab 100644
--- a/plugins/Modernb/init.cpp
+++ b/plugins/Modernb/init.cpp
@@ -56,10 +56,14 @@ static HRESULT SubclassClistInterface();
static HRESULT CreateHookableEvents();
int EventArea_UnloadModule();
+__forceinline int MakeVer(int a, int b, int c, int d)
+{ return PLUGIN_MAKE_VERSION(a,b,c,d);
+}
+
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
DEBUG_AWARE_STR "Modern Contact List '09",
- 0, //will initialized later in MirandaPluginInfoEx
+ MakeVer(PRODUCT_VERSION),
"Display contacts, event notifications, protocol status with advantage visual modifications. Supported MW modifications, enchanced metacontact cooperation.",
"Artem Shpynov, Ricardo Pescuma Domenecci and Anton Senko based on clist_mw by Bethoven",
"ashpynov@gmail.com" ,
@@ -83,11 +87,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD dwReason, LPVOID reserved)
return TRUE;
}
-inline int MakeVer(int a, int b, int c, int d)
-{
- return PLUGIN_MAKE_VERSION(a,b,c,d);
-}
-
PLUGININTERFACE PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;