diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2017-02-12 10:18:02 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2017-02-12 10:18:02 +0000 |
commit | 703fd10400f83bd136acf46162fe109f87d5e538 (patch) | |
tree | 51ed10af758ebea4ba48a1f4db76f32b161e9abe /frontends/riscos/gui.c | |
parent | 11a83a951cf8e757a3a06dfe762cda41349bbd49 (diff) | |
download | netsurf-703fd10400f83bd136acf46162fe109f87d5e538.tar.gz netsurf-703fd10400f83bd136acf46162fe109f87d5e538.tar.bz2 |
RISC OS: Initialise nsfont before hotlist.
This should allow the treeview to measure the width of label text.
Diffstat (limited to 'frontends/riscos/gui.c')
-rw-r--r-- | frontends/riscos/gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/riscos/gui.c b/frontends/riscos/gui.c index 27b81d92e..540a8be54 100644 --- a/frontends/riscos/gui.c +++ b/frontends/riscos/gui.c @@ -1179,6 +1179,9 @@ static nserror gui_init(int argc, char** argv) /* Initialise save complete functionality */ save_complete_init(); + /* Initialise the font subsystem */ + nsfont_init(); + /* Load in visited URLs, Cookies, and hostlist */ urldb_load(nsoption_charp(url_path)); urldb_load_cookies(nsoption_charp(cookie_file)); @@ -1212,9 +1215,6 @@ static nserror gui_init(int argc, char** argv) ro_message_register_route(message_WINDOW_INFO, ro_msg_window_info); - /* Initialise the font subsystem */ - nsfont_init(); - /* Initialise global information */ ro_gui_get_screen_properties(); ro_gui_wimp_get_desktop_font(); |