summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Mra.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-03-05 22:24:53 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-03-05 22:24:53 +0000
commitd5adcdbd5c1fda81f1be805dadc8021837ed706d (patch)
treee10c78a3f6cdd61a462d35e166e90f2d6495749d /protocols/MRA/src/Mra.cpp
parent1b4b315a7d30af10f17719aadae1ba3b62c56b11 (diff)
+ Add: "Automatically authorization on mail.ru web services" option, enabled by default
+ Restore: mail.ru web services for non MRA contacts with email + Restore: hidden option "HideMenuItemsForNonMRAContacts", disabled by default * Fix: show mail.ru web services then proto is offline * Code clean up few small fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@8422 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra.cpp')
-rw-r--r--protocols/MRA/src/Mra.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/MRA/src/Mra.cpp b/protocols/MRA/src/Mra.cpp
index 944b965fda..498a701dc5 100644
--- a/protocols/MRA/src/Mra.cpp
+++ b/protocols/MRA/src/Mra.cpp
@@ -19,7 +19,6 @@ PLUGININFOEX pluginInfoEx = {
{ 0xe7c48bab, 0x8ace, 0x4cb3, { 0x84, 0x46, 0xd4, 0xb7, 0x34, 0x81, 0xf4, 0x97 } }
};
-HANDLE g_hHeap;
HINSTANCE g_hInstance;
HMODULE g_hDLLXStatusIcons;
HICON g_hMainIcon;
@@ -37,13 +36,11 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID Reserved)
switch (dwReason) {
case DLL_PROCESS_ATTACH:
g_hInstance = hInstance;
- g_hHeap = HeapCreate(0, 0, 0);
DisableThreadLibraryCalls(hInstance);
break;
-
case DLL_PROCESS_DETACH:
- HeapDestroy(g_hHeap);
- g_hHeap = NULL;
+ /* Nothink to do. */
+ break;
}
return TRUE;