diff options
author | tsepez <tsepez@chromium.org> | 2016-10-26 08:45:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-26 08:45:31 -0700 |
commit | 16b703cb504abedbae3e14f69c1ae355363a7ad8 (patch) | |
tree | e3561dae57648b23312c06991d96795ef0524b6c /core/fpdfapi/page | |
parent | 04c1009af887eb5d3a183dd26421f644f63d8b77 (diff) | |
download | pdfium-16b703cb504abedbae3e14f69c1ae355363a7ad8.tar.xz |
Fix some bool/int mismatches.
Found by winxfa bot when fx_bool defined to bool.
Review-Url: https://codereview.chromium.org/2449293002
Diffstat (limited to 'core/fpdfapi/page')
-rw-r--r-- | core/fpdfapi/page/fpdf_page_parser_old.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/fpdf_page_parser_old.cpp b/core/fpdfapi/page/fpdf_page_parser_old.cpp index 8c69903b2c..ccee12dd03 100644 --- a/core/fpdfapi/page/fpdf_page_parser_old.cpp +++ b/core/fpdfapi/page/fpdf_page_parser_old.cpp @@ -107,7 +107,7 @@ uint32_t PDF_DecodeInlineStream(const uint8_t* src_buf, CCodec_ScanlineDecoder* pDecoder = CPDF_ModuleMgr::Get()->GetJpegModule()->CreateDecoder( src_buf, limit, width, height, 0, - pParam ? pParam->GetIntegerFor("ColorTransform", 1) : 1); + !pParam || pParam->GetIntegerFor("ColorTransform", 1)); return DecodeAllScanlines(pDecoder, dest_buf, dest_size); } if (decoder == "RunLengthDecode" || decoder == "RL") { |