summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c
index b0dc828aa..7824bbe7a 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -97,7 +97,7 @@ static float scale_snap_to[] = {0.10, 0.125, 0.25, 0.333, 0.5, 0.75,
/** An entry in ro_gui_pointer_table. */
struct ro_gui_pointer_entry {
bool wimp_area; /** The pointer is in the Wimp's sprite area. */
- char sprite_name[12];
+ char sprite_name[16];
int xactive;
int yactive;
};
@@ -1455,9 +1455,11 @@ void ro_gui_window_redraw(wimp_draw *redraw)
if (knockout) {
knockout_plot_start(&plot);
plot.clip(clip_x0, clip_y0, clip_x1, clip_y1);
- plot.clg(0x00ffffff);
}
+ if (c->type != CONTENT_HTML)
+ plot.clg(0x00ffffff);
+
content_redraw(c, 0, 0,
c->width * scale, c->height * scale,
clip_x0, clip_y0, clip_x1, clip_y1,