From 0c64ffe7d82029df7cfa31b2c78584dfd1567a02 Mon Sep 17 00:00:00 2001 From: Goraf Date: Sun, 28 Feb 2016 10:37:13 +0000 Subject: ContextHelp: fix unhook keyboard git-svn-id: http://svn.miranda-ng.org/main/trunk@16368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContextHelp/src/dlgboxsubclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ContextHelp/src') diff --git a/plugins/ContextHelp/src/dlgboxsubclass.cpp b/plugins/ContextHelp/src/dlgboxsubclass.cpp index 796983af35..32d9c2f3cd 100644 --- a/plugins/ContextHelp/src/dlgboxsubclass.cpp +++ b/plugins/ContextHelp/src/dlgboxsubclass.cpp @@ -473,7 +473,7 @@ int RemoveDialogBoxHook(void) DestroyServiceFunction(hServiceSetContext); // does NULL check UnhookWindowsHookEx(hMessageHook); if (hKeyboardHook) - UnhookWindowsHookEx(hMessageHook); + UnhookWindowsHookEx(hKeyboardHook); if (hEatNextMouseHook) UnhookWindowsHookEx(hEatNextMouseHook); DeleteCriticalSection(&csDlgBoxSubclass); -- cgit v1.2.3