From 48fc03aa394f4506c6053323386c040fede13a29 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Jun 2013 14:59:35 +0000 Subject: - 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 --- plugins/TooltipNotify/src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/TooltipNotify/src/main.cpp') 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); -- cgit v1.2.3