Author: jmb
Date: Sun Nov 22 08:24:53 2009
New Revision: 9696
URL:
http://source.netsurf-browser.org?rev=9696&view=rev
Log:
This optimisation was so simple that it was broken.
Modified:
trunk/netsurf/content/content.c
Modified: trunk/netsurf/content/content.c
URL:
http://source.netsurf-browser.org/trunk/netsurf/content/content.c?rev=969...
==============================================================================
--- trunk/netsurf/content/content.c (original)
+++ trunk/netsurf/content/content.c Sun Nov 22 08:24:53 2009
@@ -1098,7 +1098,7 @@
(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);