From 304616a7970e0231e296904c72f21716f1e5420f Mon Sep 17 00:00:00 2001 From: James Bursa Date: Mon, 14 Aug 2006 23:05:08 +0000 Subject: [PATCH] Fix layout of standalone
. svn path=/trunk/netsurf/; revision=2849 --- render/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/layout.c b/render/layout.c index 856c6bad0..715b126ec 100644 --- a/render/layout.c +++ b/render/layout.c @@ -817,7 +817,7 @@ bool layout_inline_container(struct box *inline_container, int width, has_text_children = false; for (c = inline_container->children; c; c = c->next) - if (!c->object && c->text && c->length) + if ((!c->object && c->text && c->length) || c->type == BOX_BR) has_text_children = true; for (c = inline_container->children; c; ) {