From 551c3b7d5cb7a55d2e65af4638959cf8a9c4b515 Mon Sep 17 00:00:00 2001 From: eccles Date: Sun, 4 Jan 2004 19:45:14 +0000 Subject: [PATCH] Fixed a bug which caused beeping when the space key is hit on the components tree (kichik missed a bit...) git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3354 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 6e7595a3..70592256 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -1050,9 +1050,10 @@ static LONG oldTreeWndProc; static DWORD WINAPI newTreeWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { static LPARAM last_item=-1; - if (uMsg == WM_CHAR && wParam == VK_SPACE) + if (uMsg == WM_CHAR && wParam == (WPARAM)' ') { NotifyCurWnd(WM_TREEVIEW_KEYHACK); + return 0; } #if defined(NSIS_SUPPORT_CODECALLBACKS) && defined(NSIS_CONFIG_ENHANCEDUI_SUPPORT) if (uMsg == WM_DESTROY) {