From df18a971435c35963bb8ea94efc0d5326ad66ff0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 30 Dec 2011 00:58:35 +0000 Subject: Change GTK plotting to use cairo surfaces throughout svn path=/trunk/netsurf/; revision=13354 --- render/html_redraw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'render/html_redraw.c') 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; -- cgit v1.2.3