diff options
author | watcherhd <watcherhd@gmail.com> | 2017-03-11 18:21:36 +0200 |
---|---|---|
committer | watcherhd <watcherhd@gmail.com> | 2017-03-11 18:21:36 +0200 |
commit | 933c6d6769525ea5c776eeecf7c997fa151a95cf (patch) | |
tree | 1863c8d0ea73cbeaabb040e96e15cdb47a48091e /protocols/JabberG/src/jabber.cpp | |
parent | 7d8dce334967520fcd140ae79ec92b44ec71a00e (diff) |
adding Git hash to Miranda version
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber.cpp | 6 |
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);
|