summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-01-27 20:37:56 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-01-27 20:37:56 +0000
commita0778b193508edbf795685cb6cebfca0d5ea8f8b (patch)
tree4f262b5b1760573656ccdb8fa4bdd3b9a9c07e0a /protocols
parentafd50c0e531b68e02c35b4e27c5465d85ee7c765 (diff)
One more attempt to fix #882
git-svn-id: http://svn.miranda-ng.org/main/trunk@11931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/EmLanProto/src/amdproto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp
index 63eca6d7dc..26f40d39ab 100644
--- a/protocols/EmLanProto/src/amdproto.cpp
+++ b/protocols/EmLanProto/src/amdproto.cpp
@@ -93,7 +93,7 @@ static INT_PTR __cdecl EMPLoadIcon(WPARAM wParam, LPARAM)
return (INT_PTR)res;
}
-static INT_PTR __cdecl EMPGetStatus(WPARAM ,LPARAM )
+static INT_PTR __cdecl EMPGetStatus(WPARAM ,LPARAM)
{
return g_lan->GetMirandaStatus();
}
@@ -349,6 +349,7 @@ INT_PTR CALLBACK EMPDlgProcMessage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARA
extern "C" int __declspec(dllexport) __cdecl Load()
{
mir_getLP(&pluginInfo);
+ g_lan = new CMLan();
PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
pd.szName = PROTONAME;
@@ -379,7 +380,6 @@ extern "C" int __declspec(dllexport) __cdecl Load()
g_heOptions = HookEvent(ME_OPT_INITIALISE,EMPCreateOptionsDlg);
- g_lan = new CMLan();
return 0;
}