mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
Fix for new cache.
svn path=/trunk/netsurf/; revision=10284
This commit is contained in:
parent
6a55bafba8
commit
61fd8d1240
@ -36,6 +36,7 @@
|
|||||||
#include "oslib/wimp.h"
|
#include "oslib/wimp.h"
|
||||||
#include "oslib/wimpextend.h"
|
#include "oslib/wimpextend.h"
|
||||||
#include "oslib/wimpspriteop.h"
|
#include "oslib/wimpspriteop.h"
|
||||||
|
#include "content/content.h"
|
||||||
#include "desktop/gui.h"
|
#include "desktop/gui.h"
|
||||||
#include "riscos/dialog.h"
|
#include "riscos/dialog.h"
|
||||||
#include "riscos/gui.h"
|
#include "riscos/gui.h"
|
||||||
@ -658,7 +659,7 @@ void ro_gui_theme_redraw(wimp_draw *redraw)
|
|||||||
if (g->bw->current_content) {
|
if (g->bw->current_content) {
|
||||||
sprintf(theme_favicon_sprite, "Ssmall_%.3x",
|
sprintf(theme_favicon_sprite, "Ssmall_%.3x",
|
||||||
ro_content_filetype_from_type(
|
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))
|
if (!ro_gui_wimp_sprite_exists(theme_favicon_sprite + 1))
|
||||||
sprintf(theme_favicon_sprite, "Ssmall_xxx");
|
sprintf(theme_favicon_sprite, "Ssmall_xxx");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user