summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_GrrdProc.cpp
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-10-28 11:54:23 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-28 11:54:23 -0700
commit5bca5ca83624d2ba8df064cb888c2f27ab248097 (patch)
tree69893d13b0ac8fe706eb674b82236d779ad327dc /core/fxcodec/jbig2/JBig2_GrrdProc.cpp
parent95e5834ab6b6e5aa370cacd6266cecbd82c4c155 (diff)
downloadpdfium-5bca5ca83624d2ba8df064cb888c2f27ab248097.tar.xz
Change some ints to bools in JBIG2 code.
Review-Url: https://codereview.chromium.org/2450393004
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_GrrdProc.cpp')
-rw-r--r--core/fxcodec/jbig2/JBig2_GrrdProc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcodec/jbig2/JBig2_GrrdProc.cpp b/core/fxcodec/jbig2/JBig2_GrrdProc.cpp
index 7ddb522ebc..669fed68e9 100644
--- a/core/fxcodec/jbig2/JBig2_GrrdProc.cpp
+++ b/core/fxcodec/jbig2/JBig2_GrrdProc.cpp
@@ -17,7 +17,7 @@ CJBig2_Image* CJBig2_GRRDProc::decode(CJBig2_ArithDecoder* pArithDecoder,
if (GRW == 0 || GRH == 0)
return new CJBig2_Image(GRW, GRH);
- if (GRTEMPLATE == 0) {
+ if (!GRTEMPLATE) {
if ((GRAT[0] == -1) && (GRAT[1] == -1) && (GRAT[2] == -1) &&
(GRAT[3] == -1) && (GRREFERENCEDX == 0) &&
(GRW == (uint32_t)GRREFERENCE->width())) {