summaryrefslogtreecommitdiff
path: root/riscos/theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/theme.c')
-rw-r--r--riscos/theme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/riscos/theme.c b/riscos/theme.c
index abc7aedca..eebdb8b2b 100644
--- a/riscos/theme.c
+++ b/riscos/theme.c
@@ -626,6 +626,7 @@ void ro_gui_theme_redraw(wimp_draw *redraw) {
g = ro_gui_toolbar_lookup(toolbar->toolbar_handle);
/* only set type for browser windows */
+ sprintf(theme_favicon_sprite, "Ssmall_xxx");
if (g) {
assert(toolbar->type == THEME_BROWSER_TOOLBAR);
assert(g->bw);
@@ -635,8 +636,6 @@ void ro_gui_theme_redraw(wimp_draw *redraw) {
g->bw->current_content->type));
if (!ro_gui_wimp_sprite_exists(theme_favicon_sprite + 1))
sprintf(theme_favicon_sprite, "Ssmall_xxx");
- } else {
- sprintf(theme_favicon_sprite, "Ssmall_xxx");
}
}