Commit 2d783f70 authored by Charles Loep's avatar Charles Loep Committed by Alexandre Julliard

Fix errors resulting from missing parenthesis.

parent 390c6dfb
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment