From e6e0fa0b326ed8b14e3944e93b9fe6f1d594d6d3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 23 Apr 2008 10:45:46 +0000 Subject: Maybe fix table layout problem caused by r4100. svn path=/trunk/netsurf/; revision=4103 --- render/table.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'render') diff --git a/render/table.c b/render/table.c index baa052e87..e0172994e 100644 --- a/render/table.c +++ b/render/table.c @@ -122,6 +122,10 @@ bool table_calculate_column_types(struct box *table) continue; i = cell->start_column; + for (j = i; j < i + cell->columns; j++) { + col[j].positioned = false; + } + /* count column types in spanned cells */ for (j = 0; j != cell->columns; j++) { if (col[i + j].type == COLUMN_WIDTH_FIXED) { -- cgit v1.2.3