summaryrefslogtreecommitdiff
path: root/desktop/history_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/history_core.c')
-rw-r--r--desktop/history_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/history_core.c b/desktop/history_core.c
index 95d28fb3d..21e402f1e 100644
--- a/desktop/history_core.c
+++ b/desktop/history_core.c
@@ -242,7 +242,7 @@ void history_add(struct history *history, hlcache_handle *content,
return;
/* TODO: use a nsurl? */
- error = nsurl_get(content_get_url(content), NSURL_WITH_FRAGMENT,
+ error = nsurl_get(hlcache_handle_get_url(content), NSURL_WITH_FRAGMENT,
&url, &url_len);
if (error != NSERROR_OK) {
warn_user("NoMemory", 0);