Module: wine Branch: master Commit: c04f66a59f02ac54cbc5e1f67407509293952012 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c04f66a59f02ac54cbc5e1f674...
Author: Hugh McMaster hugh.mcmaster@outlook.com Date: Mon May 29 08:20:13 2017 +0000
regedit: Allow handling of return values from listview notification messages.
Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 6538842..2f77f2f 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;