From 53a6cc7e06234f36e11c9e4ef9b1de3655368de0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 6 Jan 2006 21:23:47 +0000 Subject: [project @ 2006-01-06 21:23:47 by jmb] Fix normalisation of tables to update table->last correctly svn path=/import/netsurf/; revision=1998 --- render/box_normalise.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'render/box_normalise.c') diff --git a/render/box_normalise.c b/render/box_normalise.c index d153a1486..e241f447f 100644 --- a/render/box_normalise.c +++ b/render/box_normalise.c @@ -225,6 +225,8 @@ bool box_normalise_table(struct box *table, struct content * c) table->children = row_group; else child->prev->next = row_group; + if (table->last == child) + table->last = row_group; row_group->prev = child->prev; while (child != 0 && ( child->type == BOX_BLOCK || -- cgit v1.2.3