summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-05 20:18:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-05 20:18:07 +0000
commit04706c9533f06ac10ab92b9fc608f8e669b66931 (patch)
tree9d88c3c77af91178d9f0cbb74fcf395fe16f14ea /protocols
parente410d433ad3d6c74d60f0c0797811cf409b68a41 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@323 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/AimOscar/aim.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/AimOscar/aim.cpp b/protocols/AimOscar/aim.cpp
index 7eb6609245..42b1b83e96 100644
--- a/protocols/AimOscar/aim.cpp
+++ b/protocols/AimOscar/aim.cpp
@@ -44,7 +44,7 @@ OBJLIST<CAimProto> g_Instances(1, sttCompareProtocols);
/////////////////////////////////////////////////////////////////////////////////////////
// Dll entry point
-extern "C"
+extern "C"
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD /*fdwReason*/,LPVOID /*lpvReserved*/)
{
hInstance = hinstDLL;
@@ -54,7 +54,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD /*fdwReason*/,LPVOID /*lpvReserved*
/////////////////////////////////////////////////////////////////////////////////////////
// Plugin information
-static const PLUGININFOEX pluginInfo =
+static const PLUGININFOEX pluginInfo =
{
sizeof(PLUGININFOEX),
"AIM Protocol",
@@ -75,6 +75,8 @@ static const PLUGININFOEX pluginInfo =
extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
+ *(unsigned long*)(&AIM_CAP_MIRANDA[8]) = _htonl(mirandaVersion);
+ *(unsigned long*)(&AIM_CAP_MIRANDA[12]) = _htonl(__VERSION_DWORD);
return &pluginInfo;
}