summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-12-23 22:44:30 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-12-23 22:44:30 +0000
commita85662f1ce1413375073dd9b9378f98ef5586097 (patch)
treea7523a5eb15af39ae71596aa6e0e4e727d0491b2 /render/html_redraw.c
parent67f2470d5a13109af213714efa99e42a4473cfd2 (diff)
downloadnetsurf-a85662f1ce1413375073dd9b9378f98ef5586097.tar.gz
netsurf-a85662f1ce1413375073dd9b9378f98ef5586097.tar.bz2
Make html_redraw obey background image redraw requirement.
svn path=/trunk/netsurf/; revision=13336
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);