mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-03 05:41:35 +03:00
Avoid a crash when running on own screen
This commit is contained in:
parent
349913572c
commit
956997b178
@ -55,6 +55,8 @@ void gui_drag_save_object(struct gui_window *g, hlcache_handle *c,
|
||||
{
|
||||
const char *filetype = NULL;
|
||||
|
||||
/* Check we are running on Workbench */
|
||||
if(nsoption_charp(pubscreen_name) == NULL) return;
|
||||
if(strcmp(nsoption_charp(pubscreen_name), "Workbench")) return;
|
||||
|
||||
switch(type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user