From 6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 16 Apr 2009 12:49:49 +0000 Subject: Fix compilation with GCC 2.95. It astounds me how some of this lot compiled at all. svn path=/trunk/netsurf/; revision=7104 --- render/table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/table.c') diff --git a/render/table.c b/render/table.c index e0172994e..9423401f3 100644 --- a/render/table.c +++ b/render/table.c @@ -216,7 +216,7 @@ void table_collapse_borders(struct box *table) assert(row_group->type == BOX_TABLE_ROW_GROUP); assert(row_group->style); table_collapse_borders_h(table, row_group, &first); - first = (row_group->children); + first = row_group->children != NULL; for (row = row_group->children; row; row = row->next) { assert(row->type == BOX_TABLE_ROW); assert(row->style); -- cgit v1.2.3