summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/fam_01service.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-25 18:32:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-25 18:32:03 +0000
commit1a56828ddbaa4e3589fbf5c074983c5486f3850d (patch)
treecdd9fc10108204cef03ef43cc809336b7b689113 /protocols/IcqOscarJ/src/fam_01service.cpp
parent7feccbd5a8ef92544a9ed42d70c01213d6be594c (diff)
ICQ untied from m_version.h
git-svn-id: http://svn.miranda-ng.org/main/trunk@7378 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/fam_01service.cpp')
-rw-r--r--protocols/IcqOscarJ/src/fam_01service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/fam_01service.cpp b/protocols/IcqOscarJ/src/fam_01service.cpp
index 1bba5e3149..3314f6bdef 100644
--- a/protocols/IcqOscarJ/src/fam_01service.cpp
+++ b/protocols/IcqOscarJ/src/fam_01service.cpp
@@ -28,7 +28,6 @@
//
// -----------------------------------------------------------------------------
#include "icqoscar.h"
-#include <m_version.h>
extern capstr capXStatus[];
@@ -759,7 +758,8 @@ void CIcqProto::setUserInfo()
packDWord(&packet, 0x4D697261); // Miranda Signature
packDWord(&packet, 0x6E64614E);
- int v[4] = { MIRANDA_VERSION_FILEVERSION };
+ WORD v[4];
+ CallService(MS_SYSTEM_GETFILEVERSION, 0, (LPARAM)v);
packWord(&packet, v[0]);
packWord(&packet, v[1]);
packWord(&packet, v[2]);