From 933c6d6769525ea5c776eeecf7c997fa151a95cf Mon Sep 17 00:00:00 2001 From: watcherhd Date: Sat, 11 Mar 2017 18:21:36 +0200 Subject: adding Git hash to Miranda version --- protocols/JabberG/src/jabber.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG/src/jabber.cpp') 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); -- cgit v1.2.3