summaryrefslogtreecommitdiff
path: root/desktop/textinput.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-08-28 19:33:41 +0000
committerJames Bursa <james@netsurf-browser.org>2006-08-28 19:33:41 +0000
commitbfa7ab71d750ea63b04554b0492b98c7a8042579 (patch)
tree63a1913631f886aa40e3bd4c1947b93acade4e34 /desktop/textinput.c
parent358f20f4cd38821bed2ad6443fc77d8a7bc73332 (diff)
downloadnetsurf-bfa7ab71d750ea63b04554b0492b98c7a8042579.tar.gz
netsurf-bfa7ab71d750ea63b04554b0492b98c7a8042579.tar.bz2
Fix crash when using forms due to bug in browser_window_remove_caret().
svn path=/trunk/netsurf/; revision=2895
Diffstat (limited to 'desktop/textinput.c')
-rw-r--r--desktop/textinput.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/textinput.c b/desktop/textinput.c
index 0aaaa3d65..e4364a968 100644
--- a/desktop/textinput.c
+++ b/desktop/textinput.c
@@ -1105,6 +1105,8 @@ void browser_window_remove_caret(struct browser_window *bw)
{
gui_window_remove_caret(bw->window);
bw->caret_callback = NULL;
+ bw->paste_callback = NULL;
+ bw->move_callback = NULL;
bw->caret_p = NULL;
}