Index: core/fxcodec/jbig2/JBig2_GrrdProc.cpp |
diff --git a/core/fxcodec/jbig2/JBig2_GrrdProc.cpp b/core/fxcodec/jbig2/JBig2_GrrdProc.cpp |
index 7ddb522ebc06f8c5e65c7f8034ac4ceb4f158ba4..669fed68e9c14be18efb43c298df89cde52bb2a9 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())) { |