summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index d055ee3af..53897650c 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -2035,7 +2035,8 @@ bool html_redraw_background(int x, int y, struct box *box, float scale,
.fill_colour = *background_colour,
};
- if (html_redraw_printing && option_remove_backgrounds)
+ if ((html_redraw_printing && option_remove_backgrounds) ||
+ ctx->background_images == false)
return true;
plot_content = (background->background != NULL);