summaryrefslogtreecommitdiff
path: root/framebuffer
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-10-07 21:20:45 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-10-07 21:20:45 +0000
commit787f4954ea7ddbde90beb31fac31f668e193f2fe (patch)
tree1049ca58595127c1121e58db7c6e12ff7f09475f /framebuffer
parentc8bdbdd2e74b96a604a1c20dfb8c517cf7b61064 (diff)
downloadnetsurf-787f4954ea7ddbde90beb31fac31f668e193f2fe.tar.gz
netsurf-787f4954ea7ddbde90beb31fac31f668e193f2fe.tar.bz2
Fix framebuffer
svn path=/trunk/netsurf/; revision=12984
Diffstat (limited to 'framebuffer')
-rw-r--r--framebuffer/findfile.c3
l---------framebuffer/res/favicon.png1
2 files changed, 4 insertions, 0 deletions
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