diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2009-05-27 19:17:16 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2009-05-27 19:17:16 +0000 |
commit | 50219b81e62b3aa25fdcf421427b86ec82c85b5f (patch) | |
tree | a377b09dc7ca0722101d6aabb50052af3b97b53b /render/layout.c | |
parent | 7bb2aa7cbbf027d2c600ecca86f2dc49f55289eb (diff) | |
download | netsurf-50219b81e62b3aa25fdcf421427b86ec82c85b5f.tar.gz netsurf-50219b81e62b3aa25fdcf421427b86ec82c85b5f.tar.bz2 |
Pedantic wrap.
svn path=/trunk/netsurf/; revision=7589
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index 044b8f823..4beebaef7 100644 --- a/render/layout.c +++ b/render/layout.c @@ -2692,7 +2692,8 @@ bool layout_table(struct box *table, int available_width, /* This is the minimum height for the table (see 17.5.3) */ min_height = css_len2px(&style->height.value.length, style); } else if (style->height.height == CSS_HEIGHT_PERCENT) { - /* This is the minimum height for the table (see 17.5.3) */ if (table->style->position == CSS_POSITION_ABSOLUTE) { + /* This is the minimum height for the table (see 17.5.3) */ + if (table->style->position == CSS_POSITION_ABSOLUTE) { /* Table is absolutely positioned */ assert(table->float_container); containing_block = table->float_container; |