[poppler] Branch 'poppler-0.18' - poppler/Gfx.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Nov 24 13:35:32 PST 2011
poppler/Gfx.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 51e5a67c913c0d6c83f5f6b358b7fca7bb5584e1
Author: Axel Strübing <axel.struebing at freenet.de>
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 <davidben at mit.edu>
// Copyright (C) 2010 Nils Höglund <nils.hoglund at gmail.com>
// Copyright (C) 2010 Christian Feuersänger <cfeuersaenger at googlemail.com>
+// Copyright (C) 2011 Axel Strübing <axel.struebing at freenet.de>
//
// 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) {
More information about the poppler
mailing list