summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-03 13:27:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-03 13:27:08 +0000
commit847f97bbdc3f9719bbc68bfb8f0e3e1c3e1c9667 (patch)
treeb98b6ac62a2ebca8e8cb63badf0f3f6cf98dbad1 /protocols/IcqOscarJ
parent3c5f60a5dc438523934fa598bfeb537056ad2470 (diff)
still no replacement of m_version.h for ICQ...
git-svn-id: http://svn.miranda-ng.org/main/trunk@1338 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ')
-rwxr-xr-xprotocols/IcqOscarJ/fam_01service.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/fam_01service.cpp b/protocols/IcqOscarJ/fam_01service.cpp
index 3b98079716..a2f4483674 100755
--- a/protocols/IcqOscarJ/fam_01service.cpp
+++ b/protocols/IcqOscarJ/fam_01service.cpp
@@ -28,6 +28,7 @@
//
// -----------------------------------------------------------------------------
#include "icqoscar.h"
+#include <m_version.h>
extern capstr capXStatus[];
@@ -761,10 +762,7 @@ void CIcqProto::setUserInfo()
packDWord(&packet, 0x4D697261); // Miranda Signature
packDWord(&packet, 0x6E64614E);
- int v[4];
- char mirver[100];
- CallService(MS_SYSTEM_GETVERSIONTEXT, SIZEOF(mirver), LPARAM(mirver));
- sscanf(mirver, "%d.%d.%d.%d", &v[0], &v[1], &v[2], &v[3]);
+ int v[4] = { MIRANDA_VERSION_FILEVERSION };
packWord(&packet, v[0]);
packWord(&packet, v[1]);
packWord(&packet, v[2]);