mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-12 22:09:19 +03:00
Fix crash when pages are loading
svn path=/trunk/netsurf/; revision=7537
This commit is contained in:
parent
cbef74a802
commit
3a93fd1085
@ -2773,7 +2773,11 @@ void gui_window_remove_caret(struct gui_window *g)
|
||||
|
||||
void gui_window_new_content(struct gui_window *g)
|
||||
{
|
||||
struct content *c = g->shared->bw->current_content;
|
||||
struct content *c;
|
||||
|
||||
if(g && g->shared && g->shared->bw)
|
||||
c = g->shared->bw->current_content;
|
||||
else return;
|
||||
|
||||
if(c->type <= CONTENT_CSS)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user