From 1b7f0e55e1dcc7fc327e539c4e8744dba41c2857 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 7 Aug 2013 19:09:26 +0000 Subject: misplaced version git-svn-id: http://svn.miranda-ng.org/main/trunk@5616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/EmLanProto/src/Version.h | 5 +++-- protocols/EmLanProto/src/mlan.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/protocols/EmLanProto/src/Version.h b/protocols/EmLanProto/src/Version.h index af9970f0cd..0d785b1bc9 100644 --- a/protocols/EmLanProto/src/Version.h +++ b/protocols/EmLanProto/src/Version.h @@ -1,9 +1,10 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 0 #define __RELEASE_NUM 1 -#define __BUILD_NUM 1 +#define __BUILD_NUM 2 -#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM +#define __FILEVERSION_DWORD PLUGIN_MAKE_VERSION(__MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM) #define __PLUGIN_NAME "E-mage LAN protocol" #define __FILENAME "EmLanProto.dll" diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp index a3141fd2bf..01fe5a9c49 100644 --- a/protocols/EmLanProto/src/mlan.cpp +++ b/protocols/EmLanProto/src/mlan.cpp @@ -662,7 +662,7 @@ u_char* CMLan::CreatePacket(TPacket& pak, int* pBufLen) int len = 1; if (pak.idVersion != -1) - pak.idVersion = __FILEVERSION_STRING; + pak.idVersion = __FILEVERSION_DWORD; else pak.idVersion = 0; if (pak.idStatus != -1) -- cgit v1.2.3