diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2010-04-07 17:46:19 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2010-04-07 17:46:19 +0000 |
commit | 61fd8d1240399e7c7e12f3120a700a997528c4ae (patch) | |
tree | 7cf72f83fc8aba65b748e95e8f9c668090aded4d /riscos | |
parent | 6a55bafba841522c3697400a6983b3409c0e174b (diff) | |
download | netsurf-61fd8d1240399e7c7e12f3120a700a997528c4ae.tar.gz netsurf-61fd8d1240399e7c7e12f3120a700a997528c4ae.tar.bz2 |
Fix for new cache.
svn path=/trunk/netsurf/; revision=10284
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/theme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/theme.c b/riscos/theme.c index 2f703eb9d..648399e9f 100644 --- a/riscos/theme.c +++ b/riscos/theme.c @@ -36,6 +36,7 @@ #include "oslib/wimp.h" #include "oslib/wimpextend.h" #include "oslib/wimpspriteop.h" +#include "content/content.h" #include "desktop/gui.h" #include "riscos/dialog.h" #include "riscos/gui.h" @@ -658,7 +659,7 @@ void ro_gui_theme_redraw(wimp_draw *redraw) if (g->bw->current_content) { sprintf(theme_favicon_sprite, "Ssmall_%.3x", ro_content_filetype_from_type( - g->bw->current_content->type)); + content_get_type(g->bw->current_content))); if (!ro_gui_wimp_sprite_exists(theme_favicon_sprite + 1)) sprintf(theme_favicon_sprite, "Ssmall_xxx"); } |