diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-23 22:44:30 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-23 22:44:30 +0000 |
commit | a85662f1ce1413375073dd9b9378f98ef5586097 (patch) | |
tree | a7523a5eb15af39ae71596aa6e0e4e727d0491b2 | |
parent | 67f2470d5a13109af213714efa99e42a4473cfd2 (diff) | |
download | netsurf-a85662f1ce1413375073dd9b9378f98ef5586097.tar.gz netsurf-a85662f1ce1413375073dd9b9378f98ef5586097.tar.bz2 |
Make html_redraw obey background image redraw requirement.
svn path=/trunk/netsurf/; revision=13336
-rw-r--r-- | render/html_redraw.c | 3 |
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); |