summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/html_redraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 2fc4a5bfd..d38c677cb 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -769,8 +769,8 @@ bool html_redraw_background(int x, int y,
/* and plot the image */
return plot.bitmap_tile(x, y,
- box->background->width * scale,
- box->background->height * scale,
+ ceilf(box->background->width * scale),
+ ceilf(box->background->height * scale),
box->background->bitmap,
background_colour,
repeat_x, repeat_y);