summaryrefslogtreecommitdiff
path: root/beos/beos_gui.cpp
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2011-03-21 21:15:58 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2011-03-21 21:15:58 +0000
commitd2174fa8cc06c1e94d07bcab98efd00046a9ce8c (patch)
treea8f56de41ba41b3dcf2f5cf5b3c7e17a53cc83eb /beos/beos_gui.cpp
parent0d534e8c4716a04f1b433a5bbec60a4224af7006 (diff)
downloadnetsurf-d2174fa8cc06c1e94d07bcab98efd00046a9ce8c.tar.gz
netsurf-d2174fa8cc06c1e94d07bcab98efd00046a9ce8c.tar.bz2
Change rsrc: fetcher to check the mime type of resources from the extension. Add needed resource to get about: working.
svn path=/trunk/netsurf/; revision=12119
Diffstat (limited to 'beos/beos_gui.cpp')
-rw-r--r--beos/beos_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/beos/beos_gui.cpp b/beos/beos_gui.cpp
index a389b211a..1c5d941b0 100644
--- a/beos/beos_gui.cpp
+++ b/beos/beos_gui.cpp
@@ -616,7 +616,7 @@ void gui_init(int argc, char** argv)
/* set up stylesheet urls */
#ifdef USE_RESOURCES
- default_stylesheet_url = strdup("rsrc:/beosdefault.css,text/css");
+ default_stylesheet_url = strdup("rsrc:/beosdefault.css");
#else
find_resource(buf, "beosdefault.css", "./beos/res/beosdefault.css");
default_stylesheet_url = path_to_url(buf);
@@ -625,7 +625,7 @@ void gui_init(int argc, char** argv)
LOG(("Using '%s' as Default CSS URL", default_stylesheet_url));
#ifdef USE_RESOURCES
- quirks_stylesheet_url = strdup("rsrc:/quirks.css,text/css");
+ quirks_stylesheet_url = strdup("rsrc:/quirks.css");
#else
find_resource(buf, "quirks.css", "./beos/res/quirks.css");
default_stylesheet_url = path_to_url(buf);
@@ -633,7 +633,7 @@ void gui_init(int argc, char** argv)
#ifdef USE_RESOURCES
- adblock_stylesheet_url = strdup("rsrc:/adblock.css,text/css");
+ adblock_stylesheet_url = strdup("rsrc:/adblock.css");
#else
find_resource(buf, "adblock.css", "./beos/res/adblock.css");
adblock_stylesheet_url = path_to_url(buf);