diff options
author | Thomas White <taw@bitwiz.org.uk> | 2015-08-16 22:48:59 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2015-08-16 22:48:59 +0200 |
commit | 59f590412d1b63d67a41adfee27a820ee85de390 (patch) | |
tree | ac2879ebf5ea7aa3cfca1b31d620c482c5d790ce /src | |
parent | fa25a674476f748f8fe498080b3163601a9912c3 (diff) |
Nothing boxes should have zero length
Diffstat (limited to 'src')
-rw-r--r-- | src/shape.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |