Michael Stefaniuc : uiautomationcore: Drop superfluous TRUE : FALSE conditional expression.
Module: wine Branch: master Commit: b0dd4177d5ad20de20aba06965dfb51b50edf6e4 URL: https://gitlab.winehq.org/wine/wine/-/commit/b0dd4177d5ad20de20aba06965dfb51... Author: Michael Stefaniuc <mstefani(a)winehq.org> Date: Wed Apr 19 19:28:09 2023 +0200 uiautomationcore: Drop superfluous TRUE : FALSE conditional expression. --- dlls/uiautomationcore/uia_provider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/uiautomationcore/uia_provider.c b/dlls/uiautomationcore/uia_provider.c index 76b5c03537a..ffab31d9953 100644 --- a/dlls/uiautomationcore/uia_provider.c +++ b/dlls/uiautomationcore/uia_provider.c @@ -1251,7 +1251,7 @@ static HRESULT uia_send_message_timeout(HWND hwnd, UINT msg, WPARAM wparam, LPAR static BOOL is_top_level_hwnd(HWND hwnd) { - return (GetAncestor(hwnd, GA_PARENT) == GetDesktopWindow()) ? TRUE : FALSE; + return GetAncestor(hwnd, GA_PARENT) == GetDesktopWindow(); } static HRESULT get_uia_control_type_for_hwnd(HWND hwnd, int *control_type)
participants (1)
-
Alexandre Julliard