summaryrefslogtreecommitdiff
path: root/render/form.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/form.c')
-rw-r--r--render/form.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/form.c b/render/form.c
index 8f18d44ae..c542efd3e 100644
--- a/render/form.c
+++ b/render/form.c
@@ -31,6 +31,7 @@ void form_add_control(struct form *form, struct form_control *control)
if (form->controls) {
assert(form->last_control);
form->last_control->next = control;
+ control->prev = form->last_control;
control->next = 0;
form->last_control = control;
} else {