summaryrefslogtreecommitdiff
path: root/plugins/Clist_blind
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-12-06 17:23:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-12-06 17:23:46 +0300
commit0cd7f4957164cd57be2e9689c3f7759abc7c1e01 (patch)
tree99d21a1fc78c45289f7fe3e91f982ce7c3ad5c76 /plugins/Clist_blind
parentfa3d7e46f262cdbfea89b2b9ddab75768024be10 (diff)
more fixes for #2630 (Clist_blind: strange work of user search)
Diffstat (limited to 'plugins/Clist_blind')
-rw-r--r--plugins/Clist_blind/src/init.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp
index f5ceb6f379..1fd3138dd6 100644
--- a/plugins/Clist_blind/src/init.cpp
+++ b/plugins/Clist_blind/src/init.cpp
@@ -308,10 +308,9 @@ 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) {
- coreCli.pfnContactListControlWndProc(GetParent(hwnd), msg, wParam, lParam);
- return 0;
- }
+ if (msg == WM_CHAR || msg == WM_KEYDOWN)
+ if (LRESULT res = coreCli.pfnContactListControlWndProc(GetParent(hwnd), msg, wParam, lParam))
+ return res;
return mir_callNextSubclass(hwnd, ContactListControlSubclass, msg, wParam, lParam);
}