summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-12-30 00:58:35 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-12-30 00:58:35 +0000
commitdf18a971435c35963bb8ea94efc0d5326ad66ff0 (patch)
tree0f0ccea83c6f4cd82d7195478d7bd35f7ae89e31 /render/html_redraw.c
parent4dd695c156879ad845a33ad8ef9748b0f54a4f1a (diff)
downloadnetsurf-df18a971435c35963bb8ea94efc0d5326ad66ff0.tar.gz
netsurf-df18a971435c35963bb8ea94efc0d5326ad66ff0.tar.bz2
Change GTK plotting to use cairo surfaces throughout
svn path=/trunk/netsurf/; revision=13354
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 5ed45d91b..bfef82406 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -2173,6 +2173,7 @@ bool html_redraw_background(int x, int y, struct box *box, float scale,
width = content_get_width(background->background);
height = content_get_height(background->background);
+ /* ensure clip area only as large as required */
if (!repeat_x) {
if (r.x0 < x)
r.x0 = x;