summaryrefslogtreecommitdiff
path: root/plugins/ContextHelp
diff options
context:
space:
mode:
authorGoraf <goraf@miranda-ng.org>2016-02-28 10:37:13 +0000
committerGoraf <goraf@miranda-ng.org>2016-02-28 10:37:13 +0000
commit0c64ffe7d82029df7cfa31b2c78584dfd1567a02 (patch)
treefbccbed4cfd4b47fa9967baf74c5d7aec19c4f9f /plugins/ContextHelp
parentbdb57491b80e74a40d9eebf36b0be08bfd0fd320 (diff)
ContextHelp: fix unhook keyboard
git-svn-id: http://svn.miranda-ng.org/main/trunk@16368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ContextHelp')
-rw-r--r--plugins/ContextHelp/src/dlgboxsubclass.cpp2
1 files changed, 1 insertions, 1 deletions
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);