Fix operator grouping warning.

This commit is contained in:
scullin%netscape.com 1998-07-23 22:27:53 +00:00
parent a0387a053f
commit a1ad2627e6

View File

@ -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);