summaryrefslogtreecommitdiff
path: root/riscos/gui.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-20 14:05:13 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-20 14:05:13 +0000
commit699f0cb344d589c6c4b218a6b18d717bccf45e4a (patch)
treef543d6c1b8b31768c084b03c76c7ce88aa47ed6c /riscos/gui.c
parent3e7bf7cfb5368bb59fb3a620cac1e3dfcccf1ebb (diff)
downloadnetsurf-699f0cb344d589c6c4b218a6b18d717bccf45e4a.tar.gz
netsurf-699f0cb344d589c6c4b218a6b18d717bccf45e4a.tar.bz2
Make the tree icon dir a non-option
svn path=/trunk/netsurf/; revision=11422
Diffstat (limited to 'riscos/gui.c')
-rw-r--r--riscos/gui.c6
1 files changed, 3 insertions, 3 deletions
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 */