Fix build when layout logging is enabled.

svn path=/trunk/netsurf/; revision=10649
This commit is contained in:
Michael Drake 2010-07-16 17:56:33 +00:00
parent 17aacbec02
commit 2a286962f7
1 changed files with 2 additions and 2 deletions

View File

@ -804,8 +804,8 @@ bool layout_block_object(struct box *block)
block->type == BOX_TABLE_CELL);
assert(block->object);
LOG(("block %p, object %s, width %i", block, block->object->url,
block->width));
LOG(("block %p, object %s, width %i", block,
content_get_url(block->object), block->width));
if (content_get_type(block->object) == CONTENT_HTML) {
content_reformat(block->object, block->width, 1);