From 5b33c1e7231b692ba3f490fb4337cf110822ec25 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 27 May 2009 18:43:14 +0000 Subject: Remove dead assignment svn path=/trunk/netsurf/; revision=7587 --- render/layout.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'render') diff --git a/render/layout.c b/render/layout.c index 1d2aee836..8548d7aa6 100644 --- a/render/layout.c +++ b/render/layout.c @@ -560,8 +560,6 @@ bool layout_block_context(struct box *block, int viewport_height, /* Set current cy */ cy += box->height - (y - box->padding[TOP]); - /* Update y for any change in height */ - y = box->height + box->padding[TOP]; } cy += box->padding[BOTTOM] + -- cgit v1.2.3