summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-28 00:03:44 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-28 00:03:44 +0000
commit8e1b4a0061bb059fec1238d1c3a23ed6610459e0 (patch)
tree7f2244fdc890ad315b2ea3d33c4da3d2a7892f90
parent40c768cec659adb8c94016536b31d175ff998c83 (diff)
downloadnetsurf-8e1b4a0061bb059fec1238d1c3a23ed6610459e0.tar.gz
netsurf-8e1b4a0061bb059fec1238d1c3a23ed6610459e0.tar.bz2
fix box_dump call
fix spurious newlines in log message svn path=/trunk/netsurf/; revision=9919
-rw-r--r--image/bmp.c2
-rw-r--r--render/html.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/image/bmp.c b/image/bmp.c
index 4eaf5daa6..2a27231ac 100644
--- a/image/bmp.c
+++ b/image/bmp.c
@@ -94,7 +94,7 @@ bool nsbmp_convert(struct content *c, int iwidth, int iheight)
/* Store our content width and description */
c->width = bmp->width;
c->height = bmp->height;
- LOG(("BMP width %u height %u\n\n", c->width, c->height));
+ LOG(("BMP width %u height %u", c->width, c->height));
c->title = malloc(100);
if (c->title)
snprintf(c->title, 100, messages_get("BMPTitle"), c->width,
diff --git a/render/html.c b/render/html.c
index 8592ad6e2..17735f116 100644
--- a/render/html.c
+++ b/render/html.c
@@ -467,7 +467,7 @@ bool html_convert(struct content *c, int width, int height)
return false;
}
#if ALWAYS_DUMP_BOX
- box_dump(c->data.html.layout->children, 0);
+ box_dump(stderr, c->data.html.layout->children, 0);
#endif
#if ALWAYS_DUMP_FRAMESET
if (c->data.html.frameset)