summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber.cpp
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@gmail.com>2017-03-11 18:21:36 +0200
committerwatcherhd <watcherhd@gmail.com>2017-03-11 18:21:36 +0200
commit933c6d6769525ea5c776eeecf7c997fa151a95cf (patch)
tree1863c8d0ea73cbeaabb040e96e15cdb47a48091e /protocols/JabberG/src/jabber.cpp
parent7d8dce334967520fcd140ae79ec92b44ec71a00e (diff)
adding Git hash to Miranda version
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);