Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend/pdf/ev-poppler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'backend/pdf/ev-poppler.cc')
-rw-r--r--backend/pdf/ev-poppler.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index 1c9f4ea..f96fdd4 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -1841,7 +1841,10 @@ ev_form_field_from_poppler_field (PopplerFormField *poppler_field)
field_text->do_scroll = poppler_form_field_text_do_scroll (poppler_field);
field_text->is_rich_text = poppler_form_field_text_is_rich_text (poppler_field);
field_text->is_password = poppler_form_field_text_is_password (poppler_field);
-
+
+#ifdef HAVE_POPPLER_FORM_FIELD_TEXT_GET_MAX_LEN
+ field_text->max_len = poppler_form_field_text_get_max_len (poppler_field);
+#endif
field_text->text = poppler_form_field_text_get_text (poppler_field);
}