summaryrefslogtreecommitdiff
path: root/riscos/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/gui.c')
-rw-r--r--riscos/gui.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 3261ee1fa..fdd99c1a4 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -219,8 +219,15 @@ void gui_init(int argc, char** argv)
#else
options_read("<User$Path>.Choices.NetSurf.Choices");
#endif
+ /* set defaults for absent strings */
if (!option_theme)
- option_theme = strdup("Aletheia"); /* default for no options */
+ option_theme = strdup("Aletheia");
+ if (!option_toolbar_browser)
+ option_toolbar_browser = strdup("0123");
+ if (!option_toolbar_hotlist)
+ option_toolbar_hotlist = strdup("401|23");
+ if (!option_toolbar_history)
+ option_toolbar_history = strdup("01|23");
ro_gui_choose_language();