summaryrefslogtreecommitdiff
path: root/desktop/textinput.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2007-04-07 23:08:31 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2007-04-07 23:08:31 +0000
commit00af899230a655f978be456884b452cafdb2f70f (patch)
tree581cea295c2b43096bf1a8319e254952f3f301f3 /desktop/textinput.c
parent9e3c519c2ef92516e2f2bf26a4f029e072c277e6 (diff)
downloadnetsurf-00af899230a655f978be456884b452cafdb2f70f.tar.gz
netsurf-00af899230a655f978be456884b452cafdb2f70f.tar.bz2
Open window targets with a new name in a new window. Fix handling of Adjust-click on a form submit when new window opening is disabled.
svn path=/trunk/netsurf/; revision=3248
Diffstat (limited to 'desktop/textinput.c')
-rw-r--r--desktop/textinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/textinput.c b/desktop/textinput.c
index bd04903f9..9df89c66c 100644
--- a/desktop/textinput.c
+++ b/desktop/textinput.c
@@ -934,7 +934,7 @@ bool browser_window_input_callback(struct browser_window *bw,
case 10:
case 13: /* Return/Enter hit */
if (form)
- browser_form_submit(bw, 0, form, 0);
+ browser_form_submit(bw, bw, form, 0);
return true;
case 11: { /* Shift + Tab */