| Index: core/fxge/win32/fx_win32_print.cpp
|
| diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp
|
| index 6d00d835d9516f916c67aa12b7854a02b7b901e8..ab12a92b1c01e42d59bdccc961a8408885187598 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
|
|
|