From 9de746e0a00ad6055a0d4797cd66c1b62b4cc5d6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 8 Apr 2004 23:46:41 +0000 Subject: [project @ 2004-04-08 23:46:41 by jmb] Improve keypress handling in form text boxes. Note: Not yet implemented for textareas as these need more work anyway. svn path=/import/netsurf/; revision=740 --- render/form.c | 1 + 1 file changed, 1 insertion(+) (limited to 'render/form.c') 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 { -- cgit v1.2.3