[poppler] poppler/GfxState.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Jan 9 06:50:38 PST 2015


 poppler/GfxState.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dc9751e6ac47a708ba6e7a68560bdce6a2e4a010
Author: Albert Astals Cid <aacid at kde.org>
Date:   Fri Jan 9 15:50:02 2015 +0100

    Compile++

diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index b439942..3e9cac4 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -3050,7 +3050,7 @@ GfxColorSpace *GfxDeviceNColorSpace::copy() {
   GooList *sepsCSA = new GooList(sepsCS->getLength());
   for (i = 0; i < sepsCS->getLength(); i++) {
     GfxSeparationColorSpace *scs = (GfxSeparationColorSpace *) sepsCS->get(i);
-    if (likely(scs)) {
+    if (likely(scs != NULL)) {
       sepsCSA->append(scs->copy());
     }
   }


More information about the poppler mailing list