fix box_dump call

fix spurious newlines in log message

svn path=/trunk/netsurf/; revision=9919
This commit is contained in:
Vincent Sanders 2010-01-28 00:03:44 +00:00
parent 40c768cec6
commit 8e1b4a0061
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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)