diff options
author | tsepez <tsepez@chromium.org> | 2016-10-31 14:34:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-31 14:34:54 -0700 |
commit | da3447b5a8c1baffacf485461b0169f778706305 (patch) | |
tree | 2060560c8c299690d542378e9998f1156bd73a61 /core/fxge/win32 | |
parent | da4ff18a7dd2753856c1cfc712140887a34dae92 (diff) | |
download | pdfium-da3447b5a8c1baffacf485461b0169f778706305.tar.xz |
Fix bool / int mismatch for win64
See https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/286646/steps/compile%20%28with%20patch%29/logs/stdio
Review-Url: https://codereview.chromium.org/2463963002
Diffstat (limited to 'core/fxge/win32')
-rw-r--r-- | core/fxge/win32/fx_win32_print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp index 6d00d835d9..ab12a92b1c 100644 --- a/core/fxge/win32/fx_win32_print.cpp +++ b/core/fxge/win32/fx_win32_print.cpp @@ -320,8 +320,8 @@ FX_BOOL CGdiPrinterDriver::DrawDeviceText(int nChars, // Try to get the font and draw again. g_pdfium_typeface_accessible_func(&lf, wsText.c_str(), nChars); - return ExtTextOutW(m_hDC, 0, 0, ETO_GLYPH_INDEX, nullptr, wsText.c_str(), - nChars, nChars > 1 ? &spacing[1] : nullptr); + return !!ExtTextOutW(m_hDC, 0, 0, ETO_GLYPH_INDEX, nullptr, wsText.c_str(), + nChars, nChars > 1 ? &spacing[1] : nullptr); #else return FALSE; #endif |