summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-07-13 18:07:12 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-07-13 18:07:12 +0100
commit0d3faeb4bd256883f4ec3fb4d391b9ceeec6866e (patch)
tree67d3bd7dc237b4b55fe24608f63e8b4e66452e40 /render/html.c
parent36411a2ba553d29e0805187c95d55e079bd2d9fe (diff)
downloadnetsurf-0d3faeb4bd256883f4ec3fb4d391b9ceeec6866e.tar.gz
netsurf-0d3faeb4bd256883f4ec3fb4d391b9ceeec6866e.tar.bz2
Allow suppression of style dump in box tree dumps.
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/html.c b/render/html.c
index 212124028..9e576486f 100644
--- a/render/html.c
+++ b/render/html.c
@@ -100,7 +100,7 @@ static void html_box_convert_done(html_content *c, bool success)
#if ALWAYS_DUMP_BOX
- box_dump(stderr, c->layout->children, 0);
+ box_dump(stderr, c->layout->children, 0, true);
#endif
#if ALWAYS_DUMP_FRAMESET
if (c->frameset)
@@ -1981,7 +1981,7 @@ static void html_debug_dump(struct content *c, FILE *f)
assert(html != NULL);
assert(html->layout != NULL);
- box_dump(f, html->layout, 0);
+ box_dump(f, html->layout, 0, true);
}