[poppler] poppler/Form.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Apr 1 15:01:43 UTC 2022
poppler/Form.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 64f9c8d0adefde789e6a16f01db7ba4e0f3f6fc5
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Apr 1 16:57:48 2022 +0200
Fix typo of d35e11a8f84d396a9d9ef43ef852d377adc3830a
diff --git a/poppler/Form.cc b/poppler/Form.cc
index b88972ae..e65c0862 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -2732,7 +2732,7 @@ FormPageWidgets::FormPageWidgets(Annots *annots, unsigned int page, Form *form)
widgets = nullptr;
size = 0;
- if (annots && !annots->getAnnots().empty() > 0 && form) {
+ if (annots && !annots->getAnnots().empty() && form) {
size = annots->getAnnots().size();
widgets = (FormWidget **)greallocn(widgets, size, sizeof(FormWidget *));
More information about the poppler
mailing list