From cc2323f0d0d626edac4a426097eb38b53ba54848 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 2 Jul 2015 14:40:08 -0700 Subject: Add parentheses around && within ||. BUG=504699 R=raymes@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/1213433005. --- core/src/fxge/win32/fx_win32_gdipext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/fxge/win32/fx_win32_gdipext.cpp') diff --git a/core/src/fxge/win32/fx_win32_gdipext.cpp b/core/src/fxge/win32/fx_win32_gdipext.cpp index 072f4082d6..8fef914cd8 100644 --- a/core/src/fxge/win32/fx_win32_gdipext.cpp +++ b/core/src/fxge/win32/fx_win32_gdipext.cpp @@ -936,7 +936,7 @@ BOOL CGdiplusExt::DrawPath(HDC hDC, const CFX_PathData* pPathData, if (!bSmooth && (fill_mode & 3)) { bSmooth = TRUE; } - if (bSmooth || pGraphState && pGraphState->m_LineWidth > 2) { + if (bSmooth || (pGraphState && pGraphState->m_LineWidth > 2)) { CallFunc(GdipSetSmoothingMode)(pGraphics, SmoothingModeAntiAlias); } } -- cgit v1.2.3