diff options
author | Goraf <goraf@miranda-ng.org> | 2016-02-28 10:37:13 +0000 |
---|---|---|
committer | Goraf <goraf@miranda-ng.org> | 2016-02-28 10:37:13 +0000 |
commit | 0c64ffe7d82029df7cfa31b2c78584dfd1567a02 (patch) | |
tree | fbccbed4cfd4b47fa9967baf74c5d7aec19c4f9f /plugins/ContextHelp/src | |
parent | bdb57491b80e74a40d9eebf36b0be08bfd0fd320 (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/src')
-rw-r--r-- | plugins/ContextHelp/src/dlgboxsubclass.cpp | 2 |
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);
|