diff options
author | tsepez <tsepez@chromium.org> | 2016-10-26 18:58:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-26 18:58:39 -0700 |
commit | 9f7f7f8773410020fbea2be87917591cddd86aab (patch) | |
tree | 875155af9bef6dea6b450747320d711863902a9e /xfa/fwl/core/cfwl_widgetmgr.cpp | |
parent | f39074c0ae47a84c496782f8b75bcce1e1cfdf59 (diff) | |
download | pdfium-9f7f7f8773410020fbea2be87917591cddd86aab.tar.xz |
Fix some FX_BOOL / int noise in xfa
Review-Url: https://codereview.chromium.org/2453983002
Diffstat (limited to 'xfa/fwl/core/cfwl_widgetmgr.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_widgetmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/core/cfwl_widgetmgr.cpp b/xfa/fwl/core/cfwl_widgetmgr.cpp index e7f8b3819c..79d03b701b 100644 --- a/xfa/fwl/core/cfwl_widgetmgr.cpp +++ b/xfa/fwl/core/cfwl_widgetmgr.cpp @@ -30,7 +30,7 @@ FX_BOOL FWL_UseOffscreen(IFWL_Widget* pWidget) { #if (_FX_OS_ == _FX_MACOSX_) return FALSE; #else - return pWidget->GetStyles() & FWL_WGTSTYLE_Offscreen; + return !!(pWidget->GetStyles() & FWL_WGTSTYLE_Offscreen); #endif } |