summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp
index 184a5651d6..bc3329e506 100755
--- a/protocols/JabberG/src/jabber.cpp
+++ b/protocols/JabberG/src/jabber.cpp
@@ -196,9 +196,9 @@ extern "C" int __declspec(dllexport) Load()
return 1;
}
- MFileVersion v;
- Miranda_GetFileVersion(&v);
- mir_snwprintf(szCoreVersion, L"%d.%d.%d.%d", v[0], v[1], v[2], v[3]);
+ char mirVer[100];
+ Miranda_GetVersionText(mirVer, _countof(mirVer));
+ mir_wstrcpy(szCoreVersion, _A2T(mirVer));
CallService(MS_UTILS_GETCOUNTRYLIST, (WPARAM)&g_cbCountries, (LPARAM)&g_countries);