summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-03 12:46:52 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-03 12:46:52 +0000
commitd06e75fd7b0b11aa92fa075fdf30cec05d7a01f3 (patch)
treecfd050ae904cb9484d67f0cfcdcf57dccec5063c /protocols/JabberG/jabber.cpp
parent158516fc55b5e38fd3d5cd67150cc85a5162f76b (diff)
additional fix for jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@1336 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/jabber.cpp')
-rw-r--r--protocols/JabberG/jabber.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/jabber.cpp b/protocols/JabberG/jabber.cpp
index 446b7100c7..950ffb6edb 100644
--- a/protocols/JabberG/jabber.cpp
+++ b/protocols/JabberG/jabber.cpp
@@ -43,13 +43,13 @@ int hLangpack;
int g_cbCountries;
struct CountryListEntry* g_countries;
-static char szVersion[200] = "";
+char szCoreVersion[200];
PLUGININFOEX pluginInfo = {
sizeof( PLUGININFOEX ),
"Jabber Protocol",
__VERSION_DWORD,
- szVersion,
+ "Jabber protocol plugin for Miranda NG.",
"George Hazan, Maxim Mluhov, Victor Pavlychko, Artem Shpynov, Michael Stepura",
"ghazan@miranda-im.org",
"(c) 2005-2012 George Hazan, Maxim Mluhov, Victor Pavlychko, Artem Shpynov, Michael Stepura",
@@ -223,10 +223,10 @@ extern "C" int __declspec( dllexport ) Load()
mir_getTMI( &tmi );
mir_getLP( &pluginInfo );
- CallService( MS_UTILS_GETCOUNTRYLIST, ( WPARAM )&g_cbCountries, ( LPARAM )&g_countries );
+ JCallService( MS_SYSTEM_GETVERSIONTEXT, SIZEOF(szCoreVersion), (LPARAM)szCoreVersion);
+ JCallService( MS_UTILS_GETCOUNTRYLIST, ( WPARAM )&g_cbCountries, ( LPARAM )&g_countries );
setlocale(LC_ALL, "");
- mir_snprintf( szVersion, sizeof( szVersion ), Translate("Jabber protocol plugin for Miranda NG."));
pcli = ( CLIST_INTERFACE* )CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)hInst);