From c04f66a59f02ac54cbc5e1f67407509293952012 Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Mon, 29 May 2017 08:20:13 +0000 Subject: [PATCH] regedit: Allow handling of return values from listview notification messages. Signed-off-by: Hugh McMaster Signed-off-by: Alexandre Julliard --- programs/regedit/childwnd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/regedit/childwnd.c b/programs/regedit/childwnd.c index 653884260a9..2f77f2ff331 100644 --- a/programs/regedit/childwnd.c +++ b/programs/regedit/childwnd.c @@ -472,8 +472,7 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa return 0; /* goto def; */ } } else if ((int)wParam == LIST_WINDOW && g_pChildWnd != NULL) { - if (!SendMessageW(g_pChildWnd->hListWnd, WM_NOTIFY_REFLECT, wParam, lParam)) - goto def; + return SendMessageW(g_pChildWnd->hListWnd, WM_NOTIFY_REFLECT, wParam, lParam); } break;