summaryrefslogtreecommitdiff
path: root/render/textinput.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-18 16:26:56 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-18 16:26:56 +0100
commit19d2a0c01185451d2e2903f116f792e591b8ff5f (patch)
tree9b3a790d659effcefcc175c1eb1abd2cc43e61ca /render/textinput.c
parent8e4819e450f5922cde793477c634df9c82c21fb6 (diff)
parenteb35a576c1b5845d4aa6b2b77d8039f49f048edc (diff)
downloadnetsurf-19d2a0c01185451d2e2903f116f792e591b8ff5f.tar.gz
netsurf-19d2a0c01185451d2e2903f116f792e591b8ff5f.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Diffstat (limited to 'render/textinput.c')
-rw-r--r--render/textinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/textinput.c b/render/textinput.c
index 3c3eb7361..6c580a8cd 100644
--- a/render/textinput.c
+++ b/render/textinput.c
@@ -1911,7 +1911,7 @@ bool textinput_input_callback(struct browser_window *bw, uint32_t key,
selection_clear(&html->sel, true);
if (form)
- form_submit(bw->current_content, bw, form, 0);
+ form_submit(content_get_url(c), bw, form, 0);
return true;
case KEY_SHIFT_TAB: