From 787f4954ea7ddbde90beb31fac31f668e193f2fe Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 7 Oct 2011 21:20:45 +0000 Subject: Fix framebuffer svn path=/trunk/netsurf/; revision=12984 --- framebuffer/findfile.c | 3 +++ framebuffer/res/favicon.png | 1 + 2 files changed, 4 insertions(+) create mode 120000 framebuffer/res/favicon.png (limited to 'framebuffer') diff --git a/framebuffer/findfile.c b/framebuffer/findfile.c index 5cfde1656..821a66305 100644 --- a/framebuffer/findfile.c +++ b/framebuffer/findfile.c @@ -104,6 +104,9 @@ nsurl *gui_get_resource_url(const char *path) char *raw; nsurl *url = NULL; + if (strcmp(path, "favicon.ico") == 0) + path = "favicon.png"; + raw = path_to_url(filepath_sfind(respaths, buf, path)); if (raw != NULL) { nsurl_create(raw, &url); diff --git a/framebuffer/res/favicon.png b/framebuffer/res/favicon.png new file mode 120000 index 000000000..d968c3827 --- /dev/null +++ b/framebuffer/res/favicon.png @@ -0,0 +1 @@ +../../gtk/res/favicon.png \ No newline at end of file -- cgit v1.2.3