diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-16 12:49:49 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-04-16 12:49:49 +0000 |
commit | 6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1 (patch) | |
tree | de7b79a609c26b5deb62d0b1b0139ef2513528c1 /render/table.c | |
parent | 3a12ed0facbdbc79b358d48d78f158a735ee6158 (diff) | |
download | netsurf-6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1.tar.gz netsurf-6a7b1a73a7bcc4e4e6ee3a2343fd11b2453aefb1.tar.bz2 |
Fix compilation with GCC 2.95.
It astounds me how some of this lot compiled at all.
svn path=/trunk/netsurf/; revision=7104
Diffstat (limited to 'render/table.c')
-rw-r--r-- | render/table.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |