summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-11 14:59:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-11 14:59:35 +0000
commit48fc03aa394f4506c6053323386c040fede13a29 (patch)
tree2cbb748d340ae1bb0fb141486a1033e629cad9ab /plugins/TooltipNotify/src/main.cpp
parent11cc72bbdc90d99d2383da11f13031ef31921baa (diff)
- buggy window position saving code replaced with the standard Miranda service (fixes bug #350);
- version bump; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@4916 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TooltipNotify/src/main.cpp')
-rw-r--r--plugins/TooltipNotify/src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TooltipNotify/src/main.cpp b/plugins/TooltipNotify/src/main.cpp
index d3112e752e..d53c350fea 100644
--- a/plugins/TooltipNotify/src/main.cpp
+++ b/plugins/TooltipNotify/src/main.cpp
@@ -15,7 +15,8 @@ static HANDLE g_hOptionsInitialize = 0;
static HANDLE g_hModulesLoaded = 0;
static HANDLE g_hProtoAck = 0;
static HANDLE g_hProtoContactIsTyping = 0;
-static HINSTANCE g_hInstDLL = 0;
+
+HINSTANCE g_hInstDLL = 0;
// Main global object
static CTooltipNotify *g_pTooltipNotify = 0;
@@ -56,7 +57,7 @@ extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&sPluginInfo);
- g_pTooltipNotify = new CTooltipNotify(g_hInstDLL);
+ g_pTooltipNotify = new CTooltipNotify();
assert(g_pTooltipNotify!=0);
g_hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);