poppler/Gfx.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 51e5a67c913c0d6c83f5f6b358b7fca7bb5584e1
Author: Axel Strübing <[email protected]>
Date:   Thu Nov 24 22:32:57 2011 +0100

    Fix typo/regression introduced in f6d026bfa18624ccd321e102bb39ba744998de1e
    (cherry picked from commit bdb439ac5a751d6146204ae0d61fdbf7828c89c3)

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 2f481f0..1667460 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -33,6 +33,7 @@
 // Copyright (C) 2009, 2010 David Benjamin <[email protected]>
 // Copyright (C) 2010 Nils Höglund <[email protected]>
 // Copyright (C) 2010 Christian Feuersänger <[email protected]>
+// Copyright (C) 2011 Axel Strübing <[email protected]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -1453,7 +1454,7 @@ void Gfx::opSetFillRGBColor(Object args[], int numArgs) {
   }
   state->setFillPattern(NULL);
   res->lookupColorSpace("DefaultRGB", &obj);
-  if (obj.isNull()) {
+  if (!obj.isNull()) {
     colorSpace = GfxColorSpace::parse(&obj, this);
   }
   if (colorSpace == NULL) {
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to