Fix errors resulting from missing parenthesis.

This commit is contained in:
Charles Loep 2002-01-29 16:54:50 +00:00 committed by Alexandre Julliard
parent 390c6dfb93
commit 2d783f70f5
1 changed files with 2 additions and 2 deletions

View File

@ -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); GetClientRect (GetParent (hwnd), &rect);
width = rect.right - rect.left; width = rect.right - rect.left;
@ -1161,7 +1161,7 @@ STATUSBAR_WMSize (STATUSWINDOWINFO *infoPtr, HWND hwnd, WPARAM wParam, LPARAM lP
*/ */
dwStyle = GetWindowLongA(hwnd, GWL_STYLE); 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) { if (flags == SIZE_RESTORED) {
/* width and height don't apply */ /* width and height don't apply */