From 1a56828ddbaa4e3589fbf5c074983c5486f3850d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 25 Dec 2013 18:32:03 +0000 Subject: ICQ untied from m_version.h git-svn-id: http://svn.miranda-ng.org/main/trunk@7378 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/fam_01service.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/IcqOscarJ/src') 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 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]); -- cgit v1.2.3