summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);