summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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