diff options
-rw-r--r-- | render/layout.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |