From d4285464e83c661949359aad1bc4b99c842e9d61 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 4 Oct 2011 17:40:15 +0000 Subject: Fix icon loader svn path=/trunk/netsurf/; revision=12947 --- amiga/icon.c | 2 +- amiga/plugin_hack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga') diff --git a/amiga/icon.c b/amiga/icon.c index 4fd1b2fc8..a0dfae9f8 100644 --- a/amiga/icon.c +++ b/amiga/icon.c @@ -149,7 +149,7 @@ bool amiga_icon_convert(struct content *c) ULONG trans, pals1; struct ColorRegister *pal1; - url = content__get_url(c); + url = nsurl_access(content__get_url(c)); filename = url_to_path(url); /* This loader will only work on local files, so fail if not a local path */ diff --git a/amiga/plugin_hack.c b/amiga/plugin_hack.c index 5164e5bd0..2b1239143 100644 --- a/amiga/plugin_hack.c +++ b/amiga/plugin_hack.c @@ -175,7 +175,7 @@ void amiga_plugin_hack_open(struct content *c, struct browser_window *bw, struct content *page, struct box *box, struct object_params *params) { - LOG(("amiga_plugin_hack_open %s", content__get_url(c))); + LOG(("amiga_plugin_hack_open %s", nsurl_access(content__get_url(c)))); if(c && box) { -- cgit v1.2.3