mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Don't clone a NULL gesturer
svn path=/trunk/netsurf/; revision=2613
This commit is contained in:
parent
a8ebc5ba5a
commit
52e973d094
@ -115,7 +115,7 @@ void browser_window_create(const char *url, struct browser_window *clone,
|
||||
bw->history = history_create();
|
||||
else
|
||||
bw->history = history_clone(clone->history);
|
||||
if (!clone)
|
||||
if (!clone || (clone && !clone->gesturer))
|
||||
bw->gesturer = NULL;
|
||||
else
|
||||
bw->gesturer = gesturer_clone(clone->gesturer);
|
||||
|
Loading…
Reference in New Issue
Block a user