From 3f4d79e576b67f0880584845bd64e8dd8823abc1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 22 Nov 2009 14:24:53 +0000 Subject: This optimisation was so simple that it was broken. svn path=/trunk/netsurf/; revision=9696 --- content/content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index f9d2008d1..e00f3bcd6 100644 --- a/content/content.c +++ b/content/content.c @@ -1098,7 +1098,7 @@ bool content_redraw_tiled(struct content *c, int x, int y, (height == 0)) return true; /* simple optimisation for no repeat (common for backgrounds) */ - if ((!repeat_x) || (!repeat_y)) + if ((!repeat_x) && (!repeat_y)) return handler_map[c->type].redraw(c, x, y, width, height, clip_x0, clip_y0, clip_x1, clip_y1, scale, background_colour); -- cgit v1.2.3