[project @ 2006-03-05 01:42:16 by rjw]

Show unknown content icon in theme configuration toolbars.

svn path=/import/netsurf/; revision=2109
This commit is contained in:
Richard Wilson 2006-03-05 01:42:16 +00:00
parent d478d7ef08
commit a4263fd8d6
1 changed files with 1 additions and 2 deletions

View File

@ -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");
}
}