poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 24f9c8924b2135da616386d0fa691fe790b4e7a4 Author: Albert Astals Cid <[email protected]> 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 <[email protected]> // Copyright (C) 2007, 2008 Julien Rebetez <[email protected]> -// Copyright (C) 2007-2010 Albert Astals Cid <[email protected]> +// Copyright (C) 2007-2011 Albert Astals Cid <[email protected]> // Copyright (C) 2007-2010 Carlos Garcia Campos <[email protected]> // Copyright (C) 2007, 2008 Iñigo MartÃnez <[email protected]> // Copyright (C) 2007 Jeff Muizelaar <[email protected]> @@ -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);
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
