diff options
author | George Hazan <ghazan@miranda.im> | 2020-12-10 16:06:11 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-12-10 16:06:11 +0300 |
commit | 1abf24e786cace297b3ec1c83b17bf43f69ddf00 (patch) | |
tree | 2212409bc5115454eb8ca4679ce4b6672a2ae2c4 /plugins/Clist_blind | |
parent | c5a2f6dd76d25ae7c940690065a0fe5cc5d47189 (diff) |
fixes #2644 (Clist blind: проблемы с обработкой нажатий клавиш)
Diffstat (limited to 'plugins/Clist_blind')
-rw-r--r-- | plugins/Clist_blind/src/init.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp index 1fd3138dd6..f5ceb6f379 100644 --- a/plugins/Clist_blind/src/init.cpp +++ b/plugins/Clist_blind/src/init.cpp @@ -308,9 +308,10 @@ LRESULT CALLBACK ContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l LRESULT CALLBACK ContactListControlSubclass(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
- if (msg == WM_CHAR || msg == WM_KEYDOWN)
- if (LRESULT res = coreCli.pfnContactListControlWndProc(GetParent(hwnd), msg, wParam, lParam))
- return res;
+ if (msg == WM_CHAR) {
+ coreCli.pfnContactListControlWndProc(GetParent(hwnd), msg, wParam, lParam);
+ return 0;
+ }
return mir_callNextSubclass(hwnd, ContactListControlSubclass, msg, wParam, lParam);
}
|