From a4263fd8d682720462434e620509b2c555fa86be Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sun, 5 Mar 2006 01:42:16 +0000 Subject: [project @ 2006-03-05 01:42:16 by rjw] Show unknown content icon in theme configuration toolbars. svn path=/import/netsurf/; revision=2109 --- riscos/theme.c | 3 +-- 1 file changed, 1 insertion(+), 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"); } } -- cgit v1.2.3