Fabian Maurer : comctl32/taskdialog: Use parentheses around & operator.

Alexandre Julliard julliard at winehq.org
Mon Sep 17 15:02:24 CDT 2018


Module: wine
Branch: master
Commit: 9a94f55958c66c08d86bdcb3d6d837ffec9362f4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9a94f55958c66c08d86bdcb3d6d837ffec9362f4

Author: Fabian Maurer <dark.shadow4 at web.de>
Date:   Sat Sep 15 16:32:44 2018 +0200

comctl32/taskdialog: Use parentheses around & operator.

Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/taskdialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comctl32/taskdialog.c b/dlls/comctl32/taskdialog.c
index f69fa6a..1d91e1d 100644
--- a/dlls/comctl32/taskdialog.c
+++ b/dlls/comctl32/taskdialog.c
@@ -118,7 +118,7 @@ static unsigned int taskdialog_get_reference_rect(const TASKDIALOGCONFIG *taskco
     info.cbSize = sizeof(info);
     GetMonitorInfoW(monitor, &info);
 
-    if (taskconfig->dwFlags & TDF_POSITION_RELATIVE_TO_WINDOW && taskconfig->hwndParent)
+    if ((taskconfig->dwFlags & TDF_POSITION_RELATIVE_TO_WINDOW) && taskconfig->hwndParent)
         GetWindowRect(taskconfig->hwndParent, ret);
     else
         *ret = info.rcWork;




More information about the wine-cvs mailing list