summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-10-04 17:40:15 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-10-04 17:40:15 +0000
commitd4285464e83c661949359aad1bc4b99c842e9d61 (patch)
tree0ea72a7204c4b01bf11a20e5f8025b323e17cf4b
parent3b4b98673903ad6855f182930ffa69c35981f69a (diff)
downloadnetsurf-d4285464e83c661949359aad1bc4b99c842e9d61.tar.gz
netsurf-d4285464e83c661949359aad1bc4b99c842e9d61.tar.bz2
Fix icon loader
svn path=/trunk/netsurf/; revision=12947
-rw-r--r--amiga/icon.c2
-rw-r--r--amiga/plugin_hack.c2
2 files changed, 2 insertions, 2 deletions
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)
{