Do not assert when the only thing of interest is a body box. Status string can quite happily be NULL.

svn path=/trunk/netsurf/; revision=10184
This commit is contained in:
Rob Kendrick 2010-03-28 15:35:37 +00:00
parent 05a4eceae2
commit fea38002ed

View File

@ -1931,12 +1931,13 @@ void browser_window_mouse_action_html(struct browser_window *bw,
}
}
assert(status);
if (action == ACTION_SUBMIT || action == ACTION_GO)
bw->last_action = wallclock();
browser_window_set_status(bw, status);
if (status != NULL)
browser_window_set_status(bw, status);
browser_window_set_pointer(bw->window, pointer);
/* deferred actions that can cause this browser_window to be destroyed