summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index dde44aa56..da03d5449 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -2171,7 +2171,6 @@ bool box_input_text(BOX_SPECIAL_PARAMS, bool password)
return 0;
box->gadget->box = box;
- box->gadget->maxlength = 100;
if ((s = (char *) xmlGetProp(n, (const xmlChar *) "maxlength"))) {
box->gadget->maxlength = atoi(s);
xmlFree(s);