From cb243c85654c28d528ee058928e1e5cb899f6066 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Tue, 4 Apr 2006 10:55:47 +0000 Subject: [project @ 2006-04-04 10:55:47 by dsilvers] Small extra debug statement for when looking at box splitting svn path=/import/netsurf/; revision=2485 --- render/layout.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/render/layout.c b/render/layout.c index 1d1c6afc7..db2d34c90 100644 --- a/render/layout.c +++ b/render/layout.c @@ -1379,7 +1379,9 @@ bool layout_line(struct box *first, int width, int *y, "right %p, inline_count %u", split_box, space, w, left, right, inline_count)); - + + LOG(("Text was: '%s'", split_box->text)); + if ((space == 0 || x1 - x0 <= x + space_before + w) && !left && !right && inline_count == 1) { /* first word doesn't fit, but no floats and first -- cgit v1.2.3