Fix crash when using forms due to bug in browser_window_remove_caret().

svn path=/trunk/netsurf/; revision=2895
This commit is contained in:
James Bursa 2006-08-28 19:33:41 +00:00
parent 358f20f4cd
commit bfa7ab71d7

View File

@ -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;
}