summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-07 19:09:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-07 19:09:26 +0000
commit1b7f0e55e1dcc7fc327e539c4e8744dba41c2857 (patch)
tree666512db14aa0232f9c3752224a302b5f28d2850 /protocols
parent301e0423a339cb66e18c5e8315fd87be075f5598 (diff)
misplaced version
git-svn-id: http://svn.miranda-ng.org/main/trunk@5616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/EmLanProto/src/Version.h5
-rw-r--r--protocols/EmLanProto/src/mlan.cpp2
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)