summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-01-28 01:11:37 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-01-28 01:11:37 +0000
commit32fe1bd1bfcaa2c96cd407c3d1e20f2d4000bd0b (patch)
treeaf681bf540f97a6471d80955e7cfe0380decad69 /render
parent49fce64c1a9a76e8ef9062e90932df3f55073508 (diff)
downloadnetsurf-32fe1bd1bfcaa2c96cd407c3d1e20f2d4000bd0b.tar.gz
netsurf-32fe1bd1bfcaa2c96cd407c3d1e20f2d4000bd0b.tar.bz2
Replace accidentally checked in files with previous ones.
svn path=/trunk/netsurf/; revision=3786
Diffstat (limited to 'render')
-rw-r--r--render/html_redraw.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 6ad5f8c47..52b33190a 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -1305,12 +1305,6 @@ bool html_redraw_background(int x, int y, struct box *box, float scale,
if (plot_content) {
if (!plot.clip(clip_x0, clip_y0, clip_x1, clip_y1))
return false;
- if ((repeat_x || repeat_y) && (!(repeat_x && repeat_y))) {
- clip_x0 += ceilf(box->border[LEFT] * scale);
- clip_x1 -= ceilf(box->border[RIGHT] * scale);
- clip_y0 += ceilf(box->border[TOP] * scale);
- clip_y1 -= ceilf(box->border[BOTTOM] * scale);
- }
if (!content_redraw_tiled(background->background, x, y,
ceilf(background->background->width * scale),
ceilf(background->background->height * scale),