From 59f590412d1b63d67a41adfee27a820ee85de390 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 16 Aug 2015 22:48:59 +0200 Subject: Nothing boxes should have zero length --- src/shape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shape.c b/src/shape.c index 9320acd..31d02ed 100644 --- a/src/shape.c +++ b/src/shape.c @@ -118,7 +118,7 @@ static void add_nothing_box(struct wrap_line *line, SCBlock *scblock, box->offs_char = offs; box->space = sp; box->width = 0; - box->len_chars = 1; + box->len_chars = 0; box->ascent = sc_interp_get_ascent(scin); box->height = sc_interp_get_height(scin); box->filename = NULL; -- cgit v1.2.3