diff options
author | Nico Weber <thakis@chromium.org> | 2015-07-02 14:40:08 -0700 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2015-07-02 14:40:08 -0700 |
commit | cc2323f0d0d626edac4a426097eb38b53ba54848 (patch) | |
tree | 1f409ac45b50bf5685ea7d79ae76530f9cedf461 /core/src/fxge/win32/fx_win32_gdipext.cpp | |
parent | 0b0f2130e403aaa558a04ffa664e6f4f0f38d1b1 (diff) | |
download | pdfium-cc2323f0d0d626edac4a426097eb38b53ba54848.tar.xz |
Add parentheses around && within ||.chromium/2453chromium/2452chromium/2451chromium/2450chromium/2449chromium/2448
BUG=504699
R=raymes@chromium.org, thakis@chromium.org
Review URL: https://codereview.chromium.org/1213433005.
Diffstat (limited to 'core/src/fxge/win32/fx_win32_gdipext.cpp')
-rw-r--r-- | core/src/fxge/win32/fx_win32_gdipext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |