mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-27 16:59:36 +03:00
avoid crash
svn path=/trunk/netsurf/; revision=12481
This commit is contained in:
parent
543a08ca22
commit
dd99b8a461
@ -98,7 +98,8 @@ void gui_clear_selection(struct gui_window *g)
|
||||
{
|
||||
if(!g) return;
|
||||
if(!g->shared->win) return;
|
||||
if(g->shared->bw->browser_window_type != BROWSER_WINDOW_NORMAL) return;
|
||||
if((g->shared->bw) &&
|
||||
(g->shared->bw->browser_window_type != BROWSER_WINDOW_NORMAL)) return;
|
||||
if(option_kiosk_mode == true) return;
|
||||
|
||||
OffMenu(g->shared->win, AMI_MENU_CLEAR);
|
||||
|
Loading…
Reference in New Issue
Block a user