summaryrefslogtreecommitdiff
path: root/riscos/gui.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-09-13 23:56:18 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-09-13 23:56:18 +0000
commitc358b80cc51146b49a73bc33a58f4040d6258ce1 (patch)
tree4782334ff22894bf1a2c349e846ccae91e3ba4f4 /riscos/gui.c
parent8e0b3d8136587ce645f2498da85a308a35887d85 (diff)
downloadnetsurf-c358b80cc51146b49a73bc33a58f4040d6258ce1.tar.gz
netsurf-c358b80cc51146b49a73bc33a58f4040d6258ce1.tar.bz2
[project @ 2004-09-13 23:56:18 by jmb]
Make fonts user-configurable. This loses font-style support, though it shouldn't be hard to put it back again. svn path=/import/netsurf/; revision=1274
Diffstat (limited to 'riscos/gui.c')
-rw-r--r--riscos/gui.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 0d7d34d5f..1cfc7690a 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -176,7 +176,9 @@ void gui_init(int argc, char** argv)
xhourglass_start(1);
+#ifdef WITH_SAVE_COMPLETE
save_complete_init();
+#endif
/* We don't have the universal boot sequence on NCOS */
#ifndef ncos
@@ -215,6 +217,8 @@ void gui_init(int argc, char** argv)
#ifndef ncos
ro_gui_check_fonts();
#endif
+ nsfont_fill_nametable();
+
/* Issue a *Desktop to poke AcornURI into life */
if (getenv("NetSurf$Start_URI_Handler"))
xwimp_start_task("Desktop", 0);
@@ -1434,8 +1438,10 @@ void ro_gui_view_source(struct content *content)
void gui_launch_url(const char *url)
{
+#ifdef WITH_URL
/* Try ant broadcast first */
ro_url_broadcast(url);
+#endif
}