summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscos/htmlredraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c
index 592398131..23629529f 100644
--- a/riscos/htmlredraw.c
+++ b/riscos/htmlredraw.c
@@ -316,9 +316,9 @@ bool html_redraw_box(struct box *box,
}
}
}
+ /* set current background color for font painting */
+ current_background_color = box->style->background_color;
}
- /* set current background color for font painting */
- current_background_color = box->style->background_color;
if (box->background) {
/* clip to padding box for everything but the main window */