diff options
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 44e76ed4e..ebc450e3d 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -165,6 +165,7 @@ void gui_init(int argc, char** argv) char theme_fname[256]; os_error *error; int length; + struct theme_entry *theme; xhourglass_start(1); @@ -223,7 +224,10 @@ void gui_init(int argc, char** argv) } if (option_theme == NULL) strcpy(theme_fname, "<NetSurf$Dir>.Themes.Default"); - ro_theme_load(theme_fname); + theme = ro_theme_load(theme_fname); + if (theme == NULL) + LOG(("Unable to load default theme")); + ro_theme_apply(theme); if ((length = snprintf(path, sizeof(path), "<NetSurf$Dir>.Resources.%s.Templates", |