From 439a7d68a8ff7465e735749068255dfa0c4af5ad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Jun 2012 19:55:59 +0000 Subject: fix for the plugin's version git-svn-id: http://svn.miranda-ng.org/main/trunk@320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Modernb/init.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'plugins/Modernb') 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; -- cgit v1.2.3