summaryrefslogtreecommitdiff
path: root/framebuffer/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r--framebuffer/gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c
index 65080db8a..fbed5bd86 100644
--- a/framebuffer/gui.c
+++ b/framebuffer/gui.c
@@ -56,6 +56,7 @@
#include "content/fetch.h"
char *default_stylesheet_url;
+char *quirks_stylesheet_url;
char *adblock_stylesheet_url;
char *options_file_location;
@@ -367,6 +368,9 @@ void gui_init(int argc, char** argv)
default_stylesheet_url = path_to_url(buf);
LOG(("Using '%s' as Default CSS URL", default_stylesheet_url));
+ fb_find_resource(buf, "quirks.css", "./framebuffer/res/quirks.css");
+ quirks_stylesheet_url = path_to_url(buf);
+
nsfb = framebuffer_initialise(argc, argv);
if (nsfb == NULL)
die("Unable to initialise framebuffer");