From 0d3faeb4bd256883f4ec3fb4d391b9ceeec6866e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 13 Jul 2014 18:07:12 +0100 Subject: Allow suppression of style dump in box tree dumps. --- render/html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/html.c') 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); } -- cgit v1.2.3