summaryrefslogtreecommitdiff
path: root/desktop/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.c')
-rw-r--r--desktop/browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 33d16cd8d..46fd14b8d 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -1266,7 +1266,7 @@ nserror browser_window_callback(hlcache_handle *c,
/* history */
if (bw->history_add && bw->history) {
- const char *url = nsurl_access(hlcache_handle_get_url(c));
+ nsurl *url = hlcache_handle_get_url(c);
history_add(bw->history, c, bw->frag_id == NULL ? NULL :
lwc_string_data(bw->frag_id));