From 5452d31d37fdf1bf8dcdd23642842725155a14d3 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 9 Jul 2008 11:49:27 +0000 Subject: Make css_dump_style dump to a specified stream rather than assuming stderr. Makes box_dump on <>RISC OS behave sensibly. svn path=/trunk/netsurf/; revision=4538 --- render/box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') diff --git a/render/box.c b/render/box.c index cddcb022b..2a29b06c9 100644 --- a/render/box.c +++ b/render/box.c @@ -576,7 +576,7 @@ void box_dump(FILE *stream, struct box *box, unsigned int depth) if (box->gadget) fprintf(stream, "(gadget) "); if (box->style) - css_dump_style(box->style); + css_dump_style(stream, box->style); if (box->href) fprintf(stream, " -> '%s'", box->href); if (box->target) -- cgit v1.2.3