Extracted from office1.diff ChangeLog: Fix logical errors resulting from missing paranthesis in the status common control (by Codeweavers). -- Dimi.
Index: dlls/comctl32/status.c =================================================================== RCS file: /var/cvs/wine/dlls/comctl32/status.c,v retrieving revision 1.37 diff -u -r1.37 status.c --- dlls/comctl32/status.c 10 Sep 2001 23:09:04 -0000 1.37 +++ dlls/comctl32/status.c 26 Jan 2002 06:39:42 -0000 @@ -951,7 +951,7 @@ } } - 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 @@ */ 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 */