diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-07-13 18:07:12 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-07-13 18:07:12 +0100 |
commit | 0d3faeb4bd256883f4ec3fb4d391b9ceeec6866e (patch) | |
tree | 67d3bd7dc237b4b55fe24608f63e8b4e66452e40 /render/layout.c | |
parent | 36411a2ba553d29e0805187c95d55e079bd2d9fe (diff) | |
download | netsurf-0d3faeb4bd256883f4ec3fb4d391b9ceeec6866e.tar.gz netsurf-0d3faeb4bd256883f4ec3fb4d391b9ceeec6866e.tar.bz2 |
Allow suppression of style dump in box tree dumps.
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/render/layout.c b/render/layout.c index 891fc4283..975c8828f 100644 --- a/render/layout.c +++ b/render/layout.c @@ -827,7 +827,7 @@ void layout_minmax_block(struct box *block, } if (max < min) { - box_dump(stderr, block, 0); + box_dump(stderr, block, 0, true); assert(0); } @@ -2794,7 +2794,7 @@ bool layout_line(struct box *first, int *width, int *y, LOG(("float %p already placed", b)); #endif - box_dump(stderr, cont, 0); + box_dump(stderr, cont, 0, true); assert(0); } b->next_float = cont->float_children; @@ -4139,7 +4139,7 @@ void layout_minmax_table(struct box *table, for (i = 0; i != table->columns; i++) { if (col[i].max < col[i].min) { - box_dump(stderr, table, 0); + box_dump(stderr, table, 0, true); assert(0); } table_min += col[i].min; |