From 71ba5883dd00145b2256935635492cbcc8d94bac Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 28 Oct 2016 09:35:49 -0700 Subject: Fix more FX_BOOL / int noise in core/fpdfsdk Review-Url: https://codereview.chromium.org/2454263002 --- core/fxge/win32/fx_win32_gdipext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxge/win32/fx_win32_gdipext.cpp') diff --git a/core/fxge/win32/fx_win32_gdipext.cpp b/core/fxge/win32/fx_win32_gdipext.cpp index 2d19808517..927f0a32e2 100644 --- a/core/fxge/win32/fx_win32_gdipext.cpp +++ b/core/fxge/win32/fx_win32_gdipext.cpp @@ -1233,7 +1233,7 @@ FX_BOOL CGdiplusExt::DrawPath(HDC hDC, } if (pGraphState && stroke_argb) { GpPen* pPen = _GdipCreatePen(pGraphState, pObject2Device, stroke_argb, - fill_mode & FX_STROKE_TEXT_MODE); + !!(fill_mode & FX_STROKE_TEXT_MODE)); if (nSubPathes == 1) { CallFunc(GdipDrawPath)(pGraphics, pPen, pGpPath); } else { -- cgit v1.2.3