diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-27 15:15:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-27 15:15:33 +0000 |
commit | d6eee2018898f2442883a0aa77ad095b75572cfb (patch) | |
tree | 8fbfe32690b9b32e5d47b1958a02f6f6a5fbf000 /plugins/wbOSD/src/main.cpp | |
parent | 2d37d969153b5fad810984182f747755c1cbc616 (diff) |
fix for 64-bit issues & warnings
git-svn-id: http://svn.miranda-ng.org/main/trunk@15043 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/wbOSD/src/main.cpp')
-rw-r--r-- | plugins/wbOSD/src/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/wbOSD/src/main.cpp b/plugins/wbOSD/src/main.cpp index 1184e615ed..570cbe6de5 100644 --- a/plugins/wbOSD/src/main.cpp +++ b/plugins/wbOSD/src/main.cpp @@ -11,11 +11,11 @@ Distributed under GNU's GPL 2 or later HINSTANCE hI;
-HWND hwnd=0;
+HWND g_hWnd = 0;
HANDLE hservosda;
int hLangpack = 0;
CLIST_INTERFACE *pcli;
-HANDLE hHookedNewEvent, hHookedInit, hProtoAck, hContactSettingChanged, hHookContactStatusChanged, hContactStatusChanged, hpluginShutDown;
+HANDLE hHookedInit, hProtoAck, hContactSettingChanged, hHookContactStatusChanged, hContactStatusChanged;
void logmsg2(char *str);
int MainInit(WPARAM,LPARAM);
@@ -58,11 +58,9 @@ extern "C" __declspec(dllexport) int Load() extern "C" __declspec(dllexport) int Unload()
{
logmsg("Unload");
- UnhookEvent(hpluginShutDown);
UnhookEvent(hProtoAck);
UnhookEvent(hContactSettingChanged);
UnhookEvent(hContactStatusChanged);
- UnhookEvent(hHookedNewEvent);
UnhookEvent(hHookedInit);
DestroyServiceFunction(hservosda);
|