summaryrefslogtreecommitdiff
path: root/desktop/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.c')
-rw-r--r--desktop/browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 428c0775b..4fdfce52d 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -764,9 +764,9 @@ void browser_window_initialise_common(struct browser_window *bw,
assert(bw);
if (!clone)
- bw->history = history_create();
+ bw->history = history_create(bw);
else
- bw->history = history_clone(clone->history);
+ bw->history = history_clone(clone->history, bw);
/* window characteristics */
bw->refresh_interval = -1;