From 699f0cb344d589c6c4b218a6b18d717bccf45e4a Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Thu, 20 Jan 2011 14:05:13 +0000 Subject: Make the tree icon dir a non-option svn path=/trunk/netsurf/; revision=11422 --- riscos/gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'riscos') diff --git a/riscos/gui.c b/riscos/gui.c index 7cd75f037..fdfe5a522 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -349,8 +349,8 @@ static void gui_init(int argc, char** argv) option_theme_path = strdup("NetSurf:Themes"); if (!option_theme_save) option_theme_save = strdup(CHOICES_PREFIX "Themes"); - if (!option_tree_icons_dir) - option_tree_icons_dir = strdup("NetSurf:Resources.Icons"); + + tree_set_icon_dir(strdup("NetSurf:Resources.Icons")); if (!option_theme || ! option_toolbar_browser || !option_toolbar_hotlist || !option_toolbar_history || @@ -359,7 +359,7 @@ static void gui_init(int argc, char** argv) !option_url_save || !option_hotlist_path || !option_hotlist_save || !option_recent_path || !option_recent_save || !option_theme_path || - !option_theme_save || !option_tree_icons_dir) + !option_theme_save) die("Failed initialising string options"); /* Create our choices directories */ -- cgit v1.2.3