From a1ad2627e66ab265063563bc6d404ca5b361aa99 Mon Sep 17 00:00:00 2001 From: "scullin%netscape.com" Date: Thu, 23 Jul 1998 22:27:53 +0000 Subject: [PATCH] Fix operator grouping warning. --- gfx/src/windows/nsImageWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/windows/nsImageWin.cpp b/gfx/src/windows/nsImageWin.cpp index 438759b693da..1f78ae1226fb 100644 --- a/gfx/src/windows/nsImageWin.cpp +++ b/gfx/src/windows/nsImageWin.cpp @@ -901,7 +901,7 @@ PRBool nsImageWin :: SetSystemPalette(HDC* aHdc) if (mNumPalleteColors != 0) return PR_FALSE; - if (!::GetDeviceCaps(aHdc, RASTERCAPS) & RC_PALETTE) + if (!(::GetDeviceCaps(aHdc, RASTERCAPS) & RC_PALETTE)) return PR_FALSE; nsyscol = ::GetDeviceCaps(aHdc, NUMCOLORS);