summaryrefslogtreecommitdiff
path: root/desktop/local_history.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/local_history.c')
-rw-r--r--desktop/local_history.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/local_history.c b/desktop/local_history.c
index b26f266d6..569fa44e4 100644
--- a/desktop/local_history.c
+++ b/desktop/local_history.c
@@ -150,6 +150,8 @@ struct history *history_clone(struct history *history,
return 0;
}
+ new_history->bw = bw;
+
return new_history;
}
@@ -455,13 +457,13 @@ void history_go(struct history *history, struct history_entry *entry,
current = history->current;
history->current = entry;
- browser_window_create(BROWSER_WINDOW_VERIFIABLE,
+ browser_window_create(BW_CREATE_CLONE,
url, NULL, history->bw, NULL);
history->current = current;
} else {
history->current = entry;
browser_window_navigate(history->bw, url, NULL,
- BROWSER_WINDOW_VERIFIABLE, NULL, NULL, NULL);
+ BW_NAVIGATE_VERIFIABLE, NULL, NULL, NULL);
}
nsurl_unref(url);