From 2d783f70f56211232ac1cf95b7945526506f11b3 Mon Sep 17 00:00:00 2001
From: Charles Loep <charles@codeweavers.com>
Date: Tue, 29 Jan 2002 16:54:50 +0000
Subject: [PATCH] Fix errors resulting from missing parenthesis.

---
 dlls/comctl32/status.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c
index 8265c215ec6..da3f3d35828 100644
--- a/dlls/comctl32/status.c
+++ b/dlls/comctl32/status.c
@@ -951,7 +951,7 @@ STATUSBAR_WMCreate (HWND hwnd, WPARAM wParam, LPARAM lParam)
 	}
     }
 
-    if (!dwStyle & CCS_NORESIZE) /* don't resize wnd if it doesn't want it ! */
+    if (!(dwStyle & CCS_NORESIZE)) /* don't resize wnd if it doesn't want it ! */
     {
         GetClientRect (GetParent (hwnd), &rect);
         width = rect.right - rect.left;
@@ -1161,7 +1161,7 @@ STATUSBAR_WMSize (STATUSWINDOWINFO *infoPtr, HWND hwnd, WPARAM wParam, LPARAM lP
      */
 
     dwStyle = GetWindowLongA(hwnd, GWL_STYLE);
-    if (!dwStyle & CCS_NORESIZE) /* don't resize wnd if it doesn't want it ! */
+    if (!(dwStyle & CCS_NORESIZE)) /* don't resize wnd if it doesn't want it ! */
     {
         if (flags == SIZE_RESTORED) {
 	    /* width and height don't apply */
-- 
GitLab