From 1353585036eac67feeffdda4de20d91f036c1576 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sat, 30 Dec 2006 00:34:26 +0000 Subject: Implement form targets (fix 1619094) svn path=/trunk/netsurf/; revision=3125 --- render/form.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render/form.c') diff --git a/render/form.c b/render/form.c index b9aa654a0..191985694 100644 --- a/render/form.c +++ b/render/form.c @@ -38,7 +38,7 @@ static char *form_acceptable_charset(struct form *form); * \return a new structure, or 0 on memory exhaustion */ -struct form *form_new(char *action, form_method method, char *charset, +struct form *form_new(char *action, char *target, form_method method, char *charset, char *doc_charset) { struct form *form; @@ -47,6 +47,7 @@ struct form *form_new(char *action, form_method method, char *charset, if (!form) return 0; form->action = action; + form->target = target; form->method = method; form->accept_charsets = charset; form->document_charset = doc_charset; -- cgit v1.2.3