mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 01:09:39 +03:00
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:
parent
05a4eceae2
commit
fea38002ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user