summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-19 12:03:39 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-19 12:03:39 +0100
commit762cade3622a4295c7209307a4626773bd6bc7c0 (patch)
treefd91d9e3aa5c4d85cf98510257185bb421e9fa94
parent081976105ad13c74c340034de6229eb9bdafcb7b (diff)
downloadnetsurf-762cade3622a4295c7209307a4626773bd6bc7c0.tar.gz
netsurf-762cade3622a4295c7209307a4626773bd6bc7c0.tar.bz2
Don't use hlcache_handle for URL, since hlcache_handle needs to go.
-rw-r--r--render/html_interaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 15bf593c1..05afeeb8d 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -695,7 +695,7 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
/* force download of link */
browser_window_go_post(bw, nsurl_access(url), 0, 0,
false,
- nsurl_access(hlcache_handle_get_url(h)),
+ nsurl_access(content_get_url(c)),
true, true, 0);
} else if (mouse & BROWSER_MOUSE_CLICK_2 &&
@@ -836,7 +836,7 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
case ACTION_GO:
browser_window_go(browser_window_find_target(bw, target, mouse),
nsurl_access(url),
- nsurl_access(hlcache_handle_get_url(h)), true);
+ nsurl_access(content_get_url(c)), true);
break;
case ACTION_NONE:
break;