[poppler] poppler/Annot.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri Jan 21 00:43:27 PST 2011
poppler/Annot.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 24f9c8924b2135da616386d0fa691fe790b4e7a4
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Jan 21 08:43:34 2011 +0000
Access the correct variable
Fixes asert on bug 33063
diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 2c77023..fe1a32f 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -15,7 +15,7 @@
//
// Copyright (C) 2006 Scott Turner <scotty1024 at mac.com>
// Copyright (C) 2007, 2008 Julien Rebetez <julienr at svn.gnome.org>
-// Copyright (C) 2007-2010 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2007-2011 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2007-2010 Carlos Garcia Campos <carlosgc at gnome.org>
// Copyright (C) 2007, 2008 Iñigo MartÃnez <inigomartinez at gmail.com>
// Copyright (C) 2007 Jeff Muizelaar <jeff at infidigm.net>
@@ -3794,7 +3794,7 @@ void AnnotWidget::generateFieldAppearance() {
obj3.arrayGetLength() > 0) {
dx = rect->x2 - rect->x1;
dy = rect->y2 - rect->y1;
- aColor = AnnotColor (obj1.getArray());
+ aColor = AnnotColor (obj3.getArray());
setColor(&aColor, gTrue);
drawCircle(0.5 * dx, 0.5 * dy, 0.2 * (dx < dy ? dx : dy),
gTrue);
More information about the poppler
mailing list