[poppler] Branch 'poppler-0.10' - poppler/Form.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri Oct 10 14:16:48 PDT 2008
poppler/Form.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 29031a02498e3fefa4e1e0951a5840e4cacf0017
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Oct 10 23:15:35 2008 +0200
obj4 should be the index 1 on the Array, not the 0, that's already obj3
diff --git a/poppler/Form.cc b/poppler/Form.cc
index 30f1026..a245c17 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -452,7 +452,7 @@ void FormWidgetChoice::loadDefaults ()
continue;
}
obj2.arrayGet(0, &obj3);
- obj2.arrayGet(0, &obj4);
+ obj2.arrayGet(1, &obj4);
parent->_setChoiceExportVal(i, obj3.getString()->copy());
parent->_setChoiceOptionName(i, obj4.getString()->copy());
obj3.free();
More information about the poppler
mailing list